[Support request] Menu wierd issue

Home Forums Support [Support request] Menu wierd issue

Home Forums Support Menu wierd issue

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #878994
    Rob

    Hi this is hard to explain, but Ill try my best.

    I’ve just noticed youv’e added the mini cart to the menu for Woo Commerce. Which is Great!

    Thing is, I’ve used Toms PHP snippet to add it to my Secondary menu, which is located within my header.

    although I don’t want it stuck to the top of the header, I want it half way, centred vertically to my logo and search bar.

    Ive added a “margin-top” to the menu, but when I add/remove things to the cart, the menu moves down by a few pixels.

    Is there a better way to “fix” the menu in position, and so that it doesn’t move at all?

    The URL I have attached is the correct one, but I need to give you an IP to put in your hosts file on your side so you can view it, how do I do that? Is there an email i can use, I don’t want this publicly view able

    #879066
    David
    Staff
    Customer Support

    Hi there,

    you can share the IP and any other sensitive content via the Accounts Issue form:

    https://generatepress.com/contact/

    Please add the URL for this topic to the form so we can track.

    #879070
    Rob

    Hi David,

    Ive sent that across using the form, thanks.

    #879708
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I think this is because you’re using a percentage as your margin-top. What happens if you use pixels instead?

    #880033
    Rob

    I feel dumb, pixels worked. Why I didn’t try that I have no idea.

    Thanks guys. I have a another question if you can assist?

    As i have moved the cart to the secondary menu, is it possible to display the cart as it looks on the main menu?

    To be more precise. When the menu is set to the default Primary menu, when on a mobile view, you get the hamburger menu on the left, and the cart on the right (separate from the actual menu). But now I have moved it to the secondary, it sits inside the mobile menu, is it possible to have it separate?

    Would it be easier or possible to have it set to Secondary on Desktop and then Primary just on Mobile?

    #880642
    Tom
    Lead Developer
    Lead Developer

    Tough one! I wonder if it’s an easy as doing this:

    add_action( 'generate_inside_secondary_navigation', 'generatepress_wc_mobile_cart_link' );

    Let me know 🙂

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