Contact, Blog and Article tittle the same

GK User
Wed Jan 09, 2013 8:50 pm
Hello,

I am working on the website www.driessenconsultancy.nl which is nearly finished, but I am running into a small problem. I cannot get the header for contact / projecten and normale articles the same.

For the articles I made an overwrite:

Code: Select all
.item-title h2 {
   font-size: 20px;
   line-height: 100%;
   padding: 6px 0 0;
   text-transform: uppercase;
}


I tried the same for contact (contact-name) and projecten (subheading-category) but couldn't find and css. Instead I changed the html output and made both fonts H3 instead of H2. Result: the font is smaller, but the look is different. Where / how can I find the proper CSS. Tried with firebug offcourse.

Working with latest Joomla and version of template.
User avatar
Gold Boarder

GK User
Wed Jan 09, 2013 9:43 pm
As I see for the contact page use this selector:

.contact h3

for projecten use this selector:

.blog h3

You can apply these both selectors to your exisiting code for .item-title h2
User avatar
Administrator

GK User
Wed Jan 09, 2013 11:12 pm
Thanks for the quick reply!

This is the result:

Code: Select all
.item-title h2
.contact h3
.blog h3  {
   font-size: 20px;
   line-height: 100%;
   padding: 6px 0 0;
   text-transform: uppercase;
}


But I see no changes to the title of the contact, nor to the project.
User avatar
Gold Boarder

GK User
Thu Jan 10, 2013 10:58 am
You forgot commas:

Code: Select all
.item-title h2,
.contact h3,
.blog h3  {
   font-size: 20px;
   line-height: 100%;
   padding: 6px 0 0;
   text-transform: uppercase;
}
User avatar
Administrator

GK User
Thu Jan 10, 2013 12:42 pm
Great, that did the trick! Thanks!

I must have been too tired, cause I also put the overrides in a completely different template.

Do you by the way know why the override.css sometimes comes with colours, like dreamweaver, so you can see if you made a wrong syntax. And sometimes shows as flat text, which is the case now?
User avatar
Gold Boarder

GK User
Thu Jan 10, 2013 3:14 pm
In my opinion it is a problem with your editor - unfortunately I'm not using Dreamweaver :/
User avatar
Administrator


cron