CSS small updates :p

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Apr 27, 2014 8:24 pm
Reply with quote
Report this post
Hello !

I love this template so much that I keep using it on our man website <3

However I'd like to make 2 small updates but did not find how:

> How to remove the category "class" to get the normal H1 et h2 ?
http://www.joomgeek.com/about/

> How to reduce the space between 2 h2 lines ?
http://www.joomgeek.com/services/search ... ation.html
http://awesomescreenshot.com/0f52pvayab

Hope you can help !

Tks again :)
User avatar
Gold Boarder

GK User
Sun Apr 27, 2014 9:04 pm
Reply with quote
Report this post
Hi,
nice to hear that, but please explain me this part
How to remove the category "class" to get the normal H1 et h2 ?

Sorry I don't get it.
User avatar
Platinum Boarder

GK User
Sun Apr 27, 2014 9:07 pm
Reply with quote
Report this post
About space...
use this:
Code: Select all
h2 { line-height: 1.2; }

for <h2> or similar to other HTML elements.
p.s.
The line-height property defines the amount of space above and below inline elements.
User avatar
Platinum Boarder

GK User
Mon Apr 28, 2014 6:18 am
Reply with quote
Report this post
Hello

Once again thanks a lot for your quick support.

regarding the line height tks a lot it's working now !

For the other part I mean:

> The CSS for H1 and h2 of a normal page (http://www.joomgeek.com/services/websit ... sites.html) is different than the category page (http://www.joomgeek.com/about/)

There is the "Category" Class (<section class="category">) which is loading first and I don't know how to override it.

Tks
User avatar
Gold Boarder

GK User
Mon Apr 28, 2014 8:57 pm
Reply with quote
Report this post
Found it :)

.category header h1 {
border-top: 5px solid #363636;
clear: both;
font-weight: 600;
line-height: 48px;
padding: 32px 0 18px;
text-transform: uppercase;
font-size: 46px;
padding-top: 10px;

}

.blog header h1 {
border-top: 5px solid #363636;
clear: both;
font-weight: 600;
line-height: 48px;
padding: 32px 0 18px;
text-transform: uppercase;
font-size: 46px;

}
User avatar
Gold Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.