Okay
  Public Ticket #1616307
Nav. Header Issues
Closed

Comments

  • PrestonGoff started the conversation

    Hey there, I've noticed that we suddenly have a space between our site navigation header and the first row of content. This seemed to just happen suddenly, though I'm sure there is some reason for it occurring. Can you help?

  •  2,721
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Please try this CSS in Salient > General Settings > CSS/Script Related > Custom CSS Code

    #header-space { height:0!important; }
    

    Hope this helps,

    Regards

  • PrestonGoff replied

    Thanks Andrew, this fixed our desktop view but has cut off the mobile content. Thoughts?

  •  2,721
    Andrew replied

    Hi there,

    Could you try this CSS instead:

    html .container-wrap{
        margin-top:50px !important;
    }
    

    add it to salient \ general settings - css script related - custom css code.

    Hope this helps.

  • PrestonGoff replied

    Hey Andrew, Still a no-go here. Any other thoughts?

  •  2,721
    Andrew replied

    Hi there,

    Sorry for the late reply.

    Could you try this CSS:

    @media only screen and (max-width: 1000px) and (min-width: 1px){
    .container-wrap{
       margin-top:-4%;
    }
    }
    

    add it to salient \ general settings - css script related - custom css code.

    If it does not work then respond with temporary admin access - username password with admin privileges - we try to rectify this from the backend.

    Thanks.

  •   PrestonGoff replied privately
  •  2,721
    Andrew replied

    Hi PrestonGoff,

    Apologies for the late reply.

    We logged in and added this CSS to custom css code area:

    @media only screen and (max-width: 1000px) and (min-width: 1px){
    .container-wrap{
       margin-top:-4% !important;
    }
    }
    @media only screen and (min-width: 1000px){
    html .container-wrap{
        margin-top:-1% !important;
    }
    }
    

    There is not black strip of space between content and header now.

    Cheers.

  • PrestonGoff replied

    Thanks Andrew!