norcaldude
Member
Posted 5 years ago #
Hi,
I'm trying to make my blog title text to have more than one color. I would like the first word of the title to be in white and the second word to be in blue.
Just like the BluePigment them... http://www.styleshout.com/templates/preview/BluePigment1-0/index.html
Can anyone help me with this?
Thanks
mcfadden
Member
Posted 5 years ago #
No problem. WordPress is pulling your title from the options menu. You can just insert your title into the header manually and add a span tag around the first word so that you can customize the first and second words differently.
Go to Presentation > Theme Editor > Header
Find <?php bloginfo('name'); ?> towards the bottom
Replace with <span id="firstWord">First</span> Second
Then you can reference the id in your stylesheet which is also found in the theme editor like #firstWord {color: red;}