[Resolved] header color

Home Forums Support [Resolved] header color

Home Forums Support header color

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #832953
    ivar

    how do I set a different header color for each page? In older versions of the plugin it was easier for me to understand…

    https://docs.generatepress.com/article/merging-header-navigation-content/

    sorry, I’ll change the question a bit… How to change the color I figured out, but on the page where I change the color of the cap disappears indent header. How to fix?

    this is a standard page:https://neformativ.ru/wp-content/uploads/2019/03/im-01.png

    and this has changed through “Element”:https://neformativ.ru/wp-content/uploads/2019/03/im-02.png

    #833023
    David
    Staff
    Customer Support

    Hi there,

    in the Header Element > Site Header Tab there is the Offset Site Header Height field.
    Measure the height of your Site Header ( you can do this in the browser inspector ) and add that value in there.

    #833038
    ivar

    I understand that? https://neformativ.ru/wp-content/uploads/2019/03/bezymyannyy97512.png
    But nothing changes on the page….

    #833044
    David
    Staff
    Customer Support

    And what happens if you increase that value?
    You can also add more top-padding to the hero content.

    #833055
    ivar

    Not change… Maybe there is a way CSS assign a title color to a specific page?

    #833057
    David
    Staff
    Customer Support

    Can you link me to that page? You can edit your original topic and use the Site URL field for privacy.

    #833068
    ivar
    #833091
    David
    Staff
    Customer Support

    Aah ok – so the offset only applies to hero content. So you can use this CSS which will add some padding to the top of the page if the merged hero is present:

    .header-wrap + #page {
        padding-top: 121px;
    }
    
    @media (max-width: 768px) {
        .header-wrap + #page {
            padding-top: 201px;
        }
    }
    #833104
    ivar

    That’s great! You as always on top!

    #833107
    David
    Staff
    Customer Support

    Glad to be of help

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