[Resolved] Header images sticky to top – Where to add padding?

Home Forums Support [Resolved] Header images sticky to top – Where to add padding?

Home Forums Support Header images sticky to top – Where to add padding?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #254108
    Pietro

    Hi,
    my header imageis sticky to the top, but I want to leave an empty space between the top and the header (maybe 20 or 30 px). If i try to change the header padding on Customizing > Layout > Header, the image remains glued to the top and now I have a white space below the image. I want to do exactly the reverse, image glued down to the menu and empty space in the top.

    Maybe I have to write something on the field “position” but I don’t find instructions.

    Thanks for any help

    Pietro

    #254141
    Tom
    Lead Developer
    Lead Developer

    Hi Pietro,

    Give this CSS a try:

    .site-header {
        margin-top: 20px;
    }

    Let me know if that helps or not ๐Ÿ™‚

    #254388
    Pietro

    Yes, it solved this trouble!
    Anyway I was thinking there was another way on the theme without using CSS code.
    Thanks!

    #254392
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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