Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1382114
    Eric
    Participant

    Hey sorry but I have another quick question that I can’t seem to solve on my own. What I’m trying to do is add padding above the collapsed sidebar on the blog posts, which would only affect the way it appears on the tablet and on mobile. The sidebar looks great on desktop however as you can see from screenshot 1, when the sidebar drops to the bottom, there’s no spacing between the ‘about the author’ bar and the comments section.

    On the blog index page it’s perfect but for some reason I can’t seem to get it to look good on the blog posts.

    Let me know if you have any suggestions, and thanks again for all your help.

    #1382411
    Rupok
    Member

    Hi there,

    Thanks for writing in! Looks like you have this code :

    @media only screen and (max-width: 979px) {
    aside.x-sidebar.right {
    	max-width: 479px;
    	margin: 0 auto;
    }
    }

    Let’s update this to following :

    @media only screen and (max-width: 979px) {
    aside.x-sidebar.right {
    	max-width: 479px;
    	margin: 30px auto 0;
    }
    }

    Hope this helps.

    Cheers!

    #1382427
    Eric
    Participant

    Worked perfectly! Thanks a lot!

    #1382502
    Rue Nel
    Moderator

    You’re welcome!
    Thanks for letting us know that it has worked for you.

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