• I want to disable modal visibility that is shown while clicking on the cart icon on website’s header:

    I’ve tried with below css, but it didn’t work ??

    .sober-modal.open {
    display: none;
    }

    .sober-modal {
    display: none;
    }

    • This topic was modified 1 year, 7 months ago by James Huff. Reason: redundant link removed

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • This doesn’t work either because the value of your properties is overloaded by a local style for “display: block”. You could (uncleanly) solve it like this:

    .sober-modal.open {
    display: none !important;
    }

    However, I wonder why you want to hide the modal. Once something is in the cart, you will never be able to see the modal to check what is in the cart.

    What you are actually looking for is surely a setting in your theme. Since you are using a commercial theme with Sober, I would recommend you to contact their support: https://themeforest.net/item/sober-woocommerce-wordpress-theme/18332889/support – questions about commercial products are not allowed here in the forum.

    Thread Starter laurang

    (@laurang)

    Hi,

    thanks a lot. The main reason I’m trying to do something with the modal is that I want my clients to go directly to cart, skipping the modal popup. So basically I want to have direct link instead of popup.

    I will try to contact Sober team one more time.

    Thanks one more time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme modal display’ is closed to new replies.