Reduce header length and remove sub categories on mobile

This topic has 6 replies, 3 voices, and was last updated 1 day, 10 hours ago ago by Tony Rodriguez

  • Avatar: Mahi
    Mahi
    Participant
    May 25, 2026 at 21:39

    Hi support Team , On the mobike version of my website tekzo.cz, I want to make some changes and i am unable to do it. On the mobile version the header is very big uselessly which makes my website content not visible when i open the page , i want the header to be as the height as edited to the red line in the image. Also the search button has a Vsechna kategorie (SELECT CATEGORY) button which displays all categories and sub categories , I dont want the sub categories to be visible there it is very confusing non-user friendly. Please make the subcateogires unvisible only the main ones visible. Thank you for your help

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 26, 2026 at 09:02

    Hello @Mahi,

    Please note that we do not provide additional customization for customers’ websites because is outside the scope of our support policy. Thank you for your understanding. However, as we always strive to assist our clients, we have made an exception in your case and implemented some improvements to your header. Kindly check the changes now. We attached videos to compare the before/after changes in private area.

    For any further modifications, please make them on your side, or you may import our ready-made header templates (https://www.8theme.com/documentation/xstore/xstore-builders/new-xstore-header-builder-with-elementor/) and adjust them as needed, as these templates are already optimized for all devices.

    Additionally, to ensure that only top-level categories are displayed in the search widget, we have added the following code snippet to your child-theme/functions.php file:

    add_filter('etheme_elementor_ajax_search_categories_args', function($args) {  
        $args['depth'] = 1;  
        return $args;  
    }, 10, 1);

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Content is visible for topic creator and
    support staff only.
    Avatar: Mahi
    Mahi
    Participant
    May 26, 2026 at 12:01

    Thank you so much for your help it looks perfect now and I understand now your policy anyways I appreciate you helping me this time a lot.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 26, 2026 at 12:22

    Hello @Mahi,

    Thank you very much for your kind message. We are glad to know that everything looks perfect now and that our policy is clear to you. If your main request of this topic is solved, please, mark this topic as closed.

    If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.

    Kind regards,
    Jack Richardson
    The 8theme’s team

    Avatar: Mahi
    Mahi
    Participant
    May 26, 2026 at 13:03

    Thanks for the support! My topic “Reduce header length and remove sub categories on mobile” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    May 26, 2026 at 13:03

    Dear Mahi,

    Thanks for being part of our WordPress & WooCommerce community!

    We’re happy we could assist you. Your feedback truly matters — it helps us make XStore better, faster, and more reliable with every release.

    Together, we’re shaping a better WooCommerce experience for everyone.

    Topic closed.
    The 8Theme Team

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Reduce header length and remove sub categories on mobile’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.