Archived

This topic is now archived and is closed to further replies.

  • 0

Two Color Title: Text Only


Question

Posted · Report post

Hi I am trying to use a multi color site title. I know that that the simplest way to go about this is to put each work in the title in a span of its own and then style them in my css. I however don't know where to go to modify this. As right now the site title is within the H1 tag I think that some modification of the php or a function would do the trick but am not familiar with how to add or modify this in.

 

I'm using:

Base theme

Business Branding

Pagelines Customize

 

Any Help would be appreciated greatly.

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Hi Alex

 

If I understand what you mean you want one word to be one color in the title and the other to be another?

 

If so you can use css pseudo classes, like :first-word and :last-word.

 

See this link for more information - http://css-tricks.com/a-call-for-nth-everything/

Share this post


Link to post
Share on other sites

Posted · Report post

I will give this a try thanks.

Share this post


Link to post
Share on other sites

Posted · Report post

You're welcome :-)

Share this post


Link to post
Share on other sites