New Landing How can we help? Themeforest Theme Support Neighborhood Promo bar visible only on Home and cart page

Viewing 2 posts - 1 through 2 (of 2 total)
  • #330752
    reedmer
    Member
    Post count: 9

    Hi i want promo bar to be visible only on Home page and cart page. Is there faster way to achieve this than to give display none property to every page that i dont want this to be visible?
    e.g making #promo-bar by default unvisible everywhere but change display property to visible only to two pages. Is that kind of operation possible?

    #330866
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Yes, it’s possible. Add the code below to your custom css option in the theme options.

    #promo-bar {
        display: none;
    }
    
    .woocommerce-cart #promo-bar, .home #promo-bar {
        display: block!important;
    }

    -Rui

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register