[Resolved] Add top bar only on specific pages

Home Forums Support [Resolved] Add top bar only on specific pages

Home Forums Support Add top bar only on specific pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1654293
    anabella

    Hi, I created a top bar (I did this by going to Appearance > Widgets > Top Bar > I added text) but I need to display that top bar only on specific pages (not on the entire website). Is there a way of achieving this?

    #1654541
    David
    Staff
    Customer Support

    Hi there,

    yes, you can use the Layout Element:

    https://docs.generatepress.com/article/layout-element-overview/

    You can Disable the Top Bar.
    Then set your Display Rules Locations for the pages you want it removed from.

    If you have less pages to display it on ( more pages without the Top Bar ).
    Then you can set the Location to Entire Site.
    And the Exclude rules for the pages you want it displayed on.

    #1654655
    anabella

    Thank you so much David!! This is exactly what I needed

    #1654792
    David
    Staff
    Customer Support

    You’re welcome

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