Sidebar is sitting on top of the header module

Support desk for Multipurpose Quark Theme
GK User
Tue Oct 13, 2015 6:01 am
I've not been able to locate the reason or method to move the sidebar contents down off the header. This is a problem on almost ever page.

Any assistance you can provide to resolve this problem would be greatly appreciated.
Thank you, Meg
User avatar
Expert Boarder

GK User
Tue Oct 13, 2015 3:39 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Tue Oct 13, 2015 10:12 pm
User avatar
Expert Boarder

GK User
Wed Oct 14, 2015 7:36 am
Hi again, I think I've fixed the sidebar issue by adding
.single-page #gkSidebar {
padding-top: 225px;
}
to the override but I'm not able to find a way to stop the header (banner) from covering the content in mobile view in any way except by adding a /br to the start of every article of content. This results in a big gap in other views and just fitting the content in mobile view.
Can you please advise a more reliable solution?
User avatar
Expert Boarder

GK User
Wed Oct 14, 2015 10:35 am
You can use css media queries to define spacing only for small screens.
User avatar
Moderator

GK User
Wed Oct 14, 2015 9:19 pm
unfortunately I don't know what that means :/
User avatar
Expert Boarder

GK User
Thu Oct 15, 2015 9:09 pm
I thought these templates were device friendly. Have I done something wrong or am I meant to know how to alter it myself?
Thank you for any help you can offer...
User avatar
Expert Boarder

GK User
Mon Oct 19, 2015 3:36 pm
Templates are device friendly. But if you introduce a css that overrides all views, this is exactly what happens.
So to customise different views you need to create diffent media queries, for example:
Code: Select all
@media (max-width: 640px){
#sampleElement {background: red;}
}

will set red background for element with id of sampleElement to be red.
User avatar
Moderator

GK User
Mon Oct 19, 2015 11:54 pm
I didn't know I had done that. Thank you for explaining it to me.
User avatar
Expert Boarder

GK User
Sat Oct 24, 2015 9:54 am
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron