Change H tags font sizes in NCleanBlue template

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
CRSounds
Forum Members
Forum Members
Posts: 32
Joined: Sun Apr 28, 2013 6:31 pm

Change H tags font sizes in NCleanBlue template

Post by CRSounds »

Hi all,
This is driving me nuts. All I want to do is mess around with the font sizes for the H1, H2, H3 tags in the Nicecleanblue template.
But I'll be bowed if I can find anywhere they are defined in the css style sheets for that template.
Can anyone point me in the right direction please?
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Change H tags font sizes in NCleanBlue template

Post by staartmees »

they are defined in "Layout: NCleanBlue" under Standard HTML elements and their default settings
CRSounds
Forum Members
Forum Members
Posts: 32
Joined: Sun Apr 28, 2013 6:31 pm

Re: Change H tags font sizes in NCleanBlue template

Post by CRSounds »

Thanks staartmees. That's as I thought.
Something odd going on. Nothing I put in there is having any effect on my h1 tags.
Question:
If I go to
Layout » Templates » Edit Template for the NCleanBlue template and click the css bubble at the top that opens
Layout » Templates » Current Associations
It shows me 3 css files:
  1. ncleanblueutils
    ncleanbluecore
    Layout: NCleanBlue
Are these the only css files associated with the template?
Daft question I think but I can't see anywhere else in any of these three css files that any header tags are defined.
I think it must have been changed elsewhere but I can't for the life of me see where. The behaviour is global across all pages.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Change H tags font sizes in NCleanBlue template

Post by staartmees »

Code: Select all

h1, h2, h3, h4, h5 {
	line-height: 1.6em;
	font-weight: normal;
	width: auto;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}
and

Code: Select all

#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
	font-size: 1.4em;
	color: #301E12;
}
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Change H tags font sizes in NCleanBlue template

Post by paulbaker »

Your H style is probably being re-defined further down in your CSS than you are editing.

In Firefox, install Web Developer plugin (or similar on another browser) and it will tell you which bits of your CSS are changing your elements.
Post Reply

Return to “The Lounge”