Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1283754
    Nemps7
    Participant

    Hi,

    I have scoured the forum for an answer, but none worked for my case. I am trying to have no space between my nav bar and rev. slider on my homepage.

    Here is the URL to my homepage. http://rygaardsdigitalnews.com/

    Thanks so much for the help!

    Here’s a screenshot of the problem.

    #1284070
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer:

    .x-container.max.width.offset {
        margin-top: 0 !important;
    }
    
    .entry-wrap {
        padding-top: 0 !important;
    }
    
    div#cs-content div#x-section-1 {
        padding-top: 0 !important;
    }

    Thanks.

    #1285111
    Nemps7
    Participant

    Thanks! It worked!

    Out of curiosity, as I’m a beginner with all this – would this code work all the time, or is this particular to this single page? I’d like to be able to try to solve this independently if it happens on other pages.

    Thanks again!

    #1285560
    Friech
    Moderator

    Hi There,

    That code can effect any page, if need that code to be specific you can utilise the page-id class.

    e.g.

    .page-id-523 .x-container.max.width.offset {
        margin-top: 0 !important;
    }

    Follow this post on how you can get the page id.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1283754 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>