New Landing How can we help? Atelier Hide universal header banner on individual pages?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Atelier
  • #288683
    Allano
    Member
    Post count: 44

    Hello,

    I am wondering if it’s possible to hide the header banner or activate the banner on selected pages.
    I understand it’s universal but wondering if there is a CSS tweak that can accomplish on a per page basis.

    thanks,
    Allan

    #288691
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Allan,

    You can remove the promo bar from within a page meta options:

    #288695
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #288721
    David Martin – Support
    Moderator
    Post count: 20834

    You can manually hide it on some pages using CSS. If you view the source and look in the body tag you can find the page ID. You then prefix the class with the page ID. Ex:

    .page-id-9 #sf-header-banner {
        display: none;
    }

    #288736
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #288738
    David Martin – Support
    Moderator
    Post count: 20834

    Yes, for individual products you can look for the ID:

    Or for all products you can use the prefix .single-product

    Thanks.

    #288753
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #288754
    David Martin – Support
    Moderator
    Post count: 20834

    Remove .single-product

    Amend postid-15213 to .postid-15213

    #288755
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #288800
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Just use this code:-

    .postid-15213 #sf-header-banner, .page-id-10 #sf-header-banner, .page-id-15428 #sf-header-banner {
    display: none;
    }

    Thanks
    Mohammad

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

You must be logged in to reply to this topic.