[Support request] Offset site header height

Home Forums Support [Support request] Offset site header height

Home Forums Support Offset site header height

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #870434
    Terence

    At the Unlevel site I am trying to set up the first section of the homepage to “fit to screen”, but its too long and the problem I think I am having is that I am not allowing for offset site header height. How do I do that?

    #870575
    David
    Staff
    Customer Support

    Hi there,

    you could use the Header Element and set the Site Header to merged, but as you’re using Elementor probably easier to use some CSS. Edit the Elementor Section > Advanced Tab > CSS Classes and give it a custom class e.g: full-height-hero

    Then add this CSS:

    @media (min-width: 768px) {
        .full-height-hero {
            height: calc( 100vh - 60px );
        }
    }

    The 60px is the height of the nav

    May need to give that property some !important

    #870709
    Terence

    More strangeness David. It didn’t seem to be making any difference and then I added the !important and Bob’s your uncle. Perfect. Thanks!

    #870729
    David
    Staff
    Customer Support

    Glad to be of help.

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