Site logo

[Support request] Advanced tweaks on header and menus

Home Forums Support [Support request] Advanced tweaks on header and menus

Home Forums Support Advanced tweaks on header and menus

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2534475
    Thomas

    Hello GP team,

    I’m currently working on an installation with lot of customization and want to remove some stuff on tablet and mobile.

    I have implemented a bottom menu on mobile and tablet and would like to achieve this:

    1. Unset the button with the .menu-toggle class using a filter (it only appear on mobile menu if I’m not wrong).

    2. Same with the secondary menu but unset the button with .menu-toggle .secondary-menu-toggle using a filter,

    3. Activate the off-canvas everywhere (so that the “slideout-toggle” class can be used to trigger the off-canvas menu from the bottom menu bar menu item on table and mobile) but remove the burger icon in the desktop menu with something cleaner than display:none.
    I indeed tried to use the slideout-toggle class with offcanvas set to on mobile only but this doesn’t worked.

    4. Override the native search so that it only search woocommerce products. To achieve that, I need to change the destination of the search result page from ” https://mydomain/?s=xxx ” to ” https://mydomain/?post_type=product&s=xxx

    I have been using GP Premium for years on multiples projects now but there are still things to learn using it šŸ˜…

    Thanks in advance

    #2534539
    Ying
    Staff
    Customer Support

    Hi Thomas,

    If you don’t mind, please post 1 question per topic in the future, it’ll be much easier for us to follow up.

    For this topic, let’s deal with 1 question at a time.

    1. Unset the button with the .menu-toggle class using a filter (it only appear on mobile menu if I’m not wrong).

    what do you mean unset?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.