[Resolved] icon in the menu

Home Forums Support [Resolved] icon in the menu

Home Forums Support icon in the menu

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #847551
    Любомир

    Thanks for my airplane site)))
    I have a question: is it possible to make the basket icon in the menu so that it appears only after the user adds the product?
    I tried to manipulate the settings but it didn’t work out for me.
    My site

    #847584
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Try this CSS:

    #site-navigation .wc-menu-item,
    #sticky-navigation .wc-menu-item {
        display: none;
    }
    
    #site-navigation .wc-menu-item.has-items,
    #sticky-navigation .wc-menu-item.has-items {
        display: inline-block;
    }

    Let me know 🙂

    #847590
    Любомир

    As always, everything is quick and efficient!
    Thank you very much!

    #847591
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

    #847634
    Любомир

    Sorry to bother you)))
    On the mobile does not work.
    The option only on the mobile will be perfect!

    #847661
    Tom
    Lead Developer
    Lead Developer

    Ah, I need to add the has-items class to the mobile cart container. I’ll get that done in alpha.2.

    Thank you! 🙂

    #847664
    Любомир

    ok

    #847793
    Tom
    Lead Developer
    Lead Developer

    I’ll update this topic once alpha.2 is out. Likely on Monday 🙂

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