[Resolved] Change color top bar background color on specific page

Home Forums Support [Resolved] Change color top bar background color on specific page

Home Forums Support Change color top bar background color on specific page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1100527
    Kim

    Hi there, I would like to change the top bar background color just on specific pages. Would this be possible? If yes, how can I implement this?

    Many thanks in advance πŸ™‚

    #1100541
    Leo
    Staff
    Customer Support

    Hi there,

    CSS is needed:

    body.page-id-xxx .top-bar {
        background-color: #000;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Just replace xxx with the actual ID of the page you are trying to change.

    Let me know if this helps πŸ™‚

    #1101664
    Kim

    Awesome! Thanks πŸ™‚

    #1101673
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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