Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1336580
    adriangregory
    Participant

    Hello

    The first section of each page seems to be getting hidden behind the header bar in desktop view only. I’m guessing it’s a padding or margin problem. It appears perfectly on mobile view.

    Here is a link to test page of the site:

    http://www.portsmouthmusicacademy.co.uk/cms/music-lessons/guitar-lessons/

    Thank you

    #1336696
    Darshana
    Moderator

    Hi there,

    Thanks thanks for writing in! You can add this under Custom > CSS in the Customizer.

    .entry-content {
        padding-top: 75px;
    }

    Hope that helps.

    #1337117
    adriangregory
    Participant

    Hi

    Thanks for the reply. That has solved the problem in desktop view but when the screen shrinks it creates a white gap. Do I need to add something else to the CSS to account for different screen sizes?

    Thanks

    #1337145
    Nico
    Moderator

    Hi There,

    You could use a @media query to achieve the best execution of code according to screensize.

    For example, the code below will be executed when it reaches the screensize 979px

    @media (max-width:979px){
    .entry-content {
        padding-top: 75px;
    }}

    Hope it helps.

    Let us know how it goes.

    Thanks.

    #1337275
    adriangregory
    Participant

    That’s worked great, thank you for your help.

    #1337389
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

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