StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-28-2011, 03:51 PM
bboots bboots is offline
Registered User
Pro Plus Member
 
Join Date: Sep 2009
Posts: 77
Default How to change style of H2?

I want to be able to designate a few words in a post as H2 (for the search engines) while human readers see the words looking like a normal part of the post. For example, in the sentence "The two abnormal foot structures he discovered are the Rothbarts Foot and the Preclinical Clubfoot,"I would like to tag ONLY "Rothbarts Foot" as H2.

I tried changing the style sheet so that the font size for H2 would stay the same as the font size for the post body, like this:
#content h2 {
background: #000000;
color: #FFFFFF;
font-size: 12px;
font-family: Arial, Tahoma, Verdana;
font-weight: normal;
margin: 0px 0px 0px 0px;
padding: 10px 0px 10px 10px;
}

The I put the tags around the word like this:
The two abnormal foot structures he discovered are the<h2> Rothbarts Foot </h2>and the Preclinical Clubfoot.

However, when I published the post, the entire sentence text was in the solid blue block that LIfestyle uses for H2.

What do I need to do?
 

Tags
h2 tag, lifestyle classic, tags

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:43 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.