Adding Span to Title
-
So I need a bit of help adding a span to a title as on this blog:
http://harvesthealth5k.com/?page_id=164
If you look at the second line where it says Race Information, race is a different color then information. I have access to this site but I did not build it. I have two blocks of code and I’m not sure which one corresponds to the h2 title. I’m assuming it is the second block.
<!– Begin Title –>
<div class=”article-rel-wrapper”>
<h2 class=”contentheading”>
<?php the_title(); ?>
</h2></div>
<!– End Title –>
<!– Begin Title –>
<div class=”article-rel-wrapper”>
<?php if ($option[‘blog_title_link’] == ‘true’) { ?>
<h2 class=”contentheading”>
” title=”<?php the_title(); ?>”><?php the_title(); ?>
</h2><?php } else { ?>
<h2 class=”contentheading”>
<?php the_title(); ?>
</h2><?php } ?>
</div><!– End Title –>
And the only css I can find that matches is this:
.contentheading span {color: #CA7E00;}
Basically I’m confused about how it works. When you go to type in any title name the first word is always in blue. I would like to know how it is executed, and what block of code I need to do so.
Any help would be appreciated!
Thanks!!
The blog I need help with is: (visible only to logged in users)
-
I’m sorry but you are posting to the wrong support forum and we cannot help you with that site here at WordPress.com at all. Please post to the correct support forum for your software. It’s here > http://wordpress.ORG/support/
WordPress.com vs WordPress.org: The Differences -
-
- The topic ‘Adding Span to Title’ is closed to new replies.