Jump to content


Photo
- - - - -

Two Color Title: Text Only

Title Color Text CSS Business Branding

Best Answer James B , 28 May 2013 - 09:32 PM

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.co...nth-everything/

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 alexizzzo

alexizzzo

    Newbie

  • Members
  • 2 posts
  • Country: Country Flag

Posted 28 May 2013 - 04:25 PM

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.



#2 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 28 May 2013 - 09:32 PM   Best Answer

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 -

Please Login or Register to see this Hidden Content



#3 alexizzzo

alexizzzo

    Newbie

  • Members
  • 2 posts
  • Country: Country Flag

Posted 29 May 2013 - 06:37 PM

I will give this a try thanks.



#4 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 29 May 2013 - 09:04 PM

You're welcome :-)







Also tagged with one or more of these keywords: Title, Color, Text, CSS, Business Branding