Change header height with @media query

Support desk for Multipurpose Quark Theme
GK User
Thu Sep 17, 2015 2:19 am
Hi I been trying to change the size of the header section on my site based on the users screen size. Using the inspector tool I can change the height under a media query rule but I cannot find this media query in the files structure. Being that this is source code is this hidden code ? Can you please provide advice on how to change this ? My site is stellasaurus.com.au
Cheers
User avatar
Junior Boarder

GK User
Thu Sep 17, 2015 7:46 am
You can use override.css for such thing.
User avatar
Moderator

GK User
Thu Sep 17, 2015 11:43 pm
Hi thanks for the reply ! Any samples of code for such an operation?
User avatar
Junior Boarder

GK User
Sat Sep 19, 2015 7:45 am
Cyberek wrote:You can use override.css for such thing.


Hi Thanks again,
I have input to override CSS but im struggling to figure out how to implement this override to just the home page. I need to do this as i'm using the 'viewport height' argument to adjust to fit the screen and to do so i have to modify #gkHeader CSS which is used on other pages.

Can you please advise of how i can make the overrides to only be used on the home page?

Cheers
User avatar
Junior Boarder

GK User
Sat Sep 19, 2015 11:29 am
Hi can i also ask, i have found that for me to get what i want to happen, i need to remove the code from the "About" page from the " dark-bg" class as that class has the header i need to modify. Can you please advise how i can remove this from the class or create a new class as i cant find the source code to edit?

Cheers
User avatar
Junior Boarder

GK User
Mon Sep 21, 2015 4:10 pm
To narrow down the effect only to one page you can use page suffixes to create a css prefix to use later with the override.css declaration.
User avatar
Moderator

GK User
Sun Sep 27, 2015 12:31 am
Cyberek wrote:To narrow down the effect only to one page you can use page suffixes to create a css prefix to use later with the override.css declaration.

Cyberek,

Thanks for the info, i have tried to add a page class suffix using the joomla instructions but i cannot find it to allow me to call it in CSS. Can you help please?

Cheers

James
User avatar
Junior Boarder

GK User
Mon Sep 28, 2015 8:30 pm
You need to add page suffix via template settings - it adds a class to body tag, then you can use it as perfix in override.css.
User avatar
Moderator

GK User
Tue Sep 29, 2015 8:40 am
Cyberek wrote:You need to add page suffix via template settings - it adds a class to body tag, then you can use it as perfix in override.css.


Thanks very much!!

One more question, the part in template setting that says " ItemId/Option" where do i find this ?

Cheers

James
User avatar
Junior Boarder

GK User
Wed Sep 30, 2015 3:49 pm
User avatar
Moderator


cron