Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-06-18 10:52:16

robertsalisbury
Member
Registered: 2014-01-04
Posts: 83

how to target hi heading.

How do I target all h1 headings on my pages but not the logo/masterhead. I'm trying to make the Galleries heading  it line up with the rest of the text but every time I use the css code it moves the masterhead  off center. I've been able to do this to all the other headings h2 to h6 and the paragraphs.

http://www.catchlightimaging.com.au/galleries/

Thanks

Robert

Offline

#2 2014-06-18 11:25:25

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: how to target hi heading.

Just use more specific selectors with the H1 headings you want to target in you custom css
For example:
#the-block h1 {
Your custom css;
}

Will effect only the h1 elements in the block and not the h1 in the masthead


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2014-06-18 16:30:22

robertsalisbury
Member
Registered: 2014-01-04
Posts: 83

Re: how to target hi heading.

Thanks Rod, a supper speedy reply as normal. I had tried that or so I thought! but with no luck. This worked though. Cheers

Offline

Board footer

Powered by FluxBB