• Resolved katmort

    (@katmort)


    Hey guys,
    I have the opposite problem of a few questions that’ve been asked in here…
    I’m building a website for a client using WooCommerce. The ‘store’ isn’t really for shopping, it’s just a catalogue so I’ve disabled all the add-ons that allow you to put something in the cart, check out, etc.
    Everything is fine except when you go into mobile view the little shopping cart icon still appears on the menu, even though I’ve disabled it. I need to get rid of it so customers don’t get confused and think they can buy directly from the site.
    Any way to fix this? Can’t send a link of the site because it hasn’t launched yet. It may look fine once it’s launched, but I’d rather fix it before then so everything is perfect.
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there!

    Without seeing the exact site that you’re working on, it’s impossible to tell you exactly where things are going wrong. I’d recommend putting it online temporarily so that we can take a look.

    Thread Starter katmort

    (@katmort)

    @fernashes
    sorry for the delayed reply. The site is live https://wanderingwardrobetampa.com
    Only on mobile view (possibly tablet but I can’t check because I don’t have one) the cart keeps showing up. I’ve disabled it on all devices, hidden it when empty and have added in this code:
    .fixed-header-box .cart-dropdown {
    display: none;
    }
    but it still keeps showing up. It looks like it’s not responding to anything, even changes in style.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there!

    It looks like you’re nearly there, you just need an !important tag to override other existing styles.

    Here’s the code that worked for me:

    `
    .oceanwp-mobile-menu-icon a:first-child {
    display: none !important;
    }
    `

    Thread Starter katmort

    (@katmort)

    @fernashes
    Thank you! That worked perfectly ??

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    So glad to hear it! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mobile shopping cart shows up when it’s not meant to’ is closed to new replies.