Changing H2 style in Appsprotech template

Create fresh and professional look of personal or blog websites with AppsPro Tech
GK User
Fri Jul 19, 2013 2:23 pm
Hello. I can't change h2 size. I'm making changes in file ../templates/gk_appsprotech/css/template.css
Code: Select all
h2,.componentheading {
   font-size: 12px;
   font-weight: 700;
}


Thus I have no problems in changing h1 and other header tags/
User avatar
Junior Boarder

GK User
Fri Jul 19, 2013 3:33 pm
First thing - use override.css
Second thing - could You post an url to your site?

Please read first about adding custom CSS:
http://www.gavick.com/documentation/joo ... -template/
User avatar
Moderator

GK User
Fri Jul 19, 2013 9:44 pm
Here is the link, where you can see h2 in category blog http://tennis-group.ru/articles-library/teoriya-tennisa. I tried to change h2 in override.css as you posted.
For example:
Code: Select all
h2
{
font-size: 12px;
}

But nothing happened.
User avatar
Junior Boarder

GK User
Mon Jul 22, 2013 6:06 pm
Well it works, but You need to know one thing about css - try firebug/google chrome developer toolkit and check what declaration is used specify for element. If You declare:
Code: Select all
h2 {
font-size: 10px;
}

but somewhere in the scripts there is a declaration:
Code: Select all
#k2Container h2 {
font-size: 56px;
}

the second one has more weight (is more specific) and will be used. So in your override css You need to place that specific declaration to override it.
User avatar
Moderator


cron