1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to change the color of one word in Site-Title ?

Discussion in 'WordPress' started by lobsang, Apr 25, 2015.

  1. #1
    Hello guys,
    I am trying to change the color of one word in my site title.
    I have little knowledge of html and CSS.

    http://coolstuffgift.com/

    my site title is "Cool and Creative stuff" and I am trying to get the word "stuff" in white color. I try it with span tag, I copy paste some php code from this forum to allow me to do that. which do not seems to work for my theme.
    I am using 'dynamic news lite' free version.

    when I try add word "stuff" to my title as a pseudo element from css, which seems to work but only in firefox and some version of IE but not in chrome.

    I would appreciate it if any of you guys can help me with this.
     
    lobsang, Apr 25, 2015 IP
  2. themes4all

    themes4all Well-Known Member

    Messages:
    662
    Likes Received:
    47
    Best Answers:
    6
    Trophy Points:
    100
    #2
    Hello there,

    You can make this by using this Code :

    h1 .mystuffcolor {
    color:#FFFFFF;}

    Then on HTML : <h1>Cool and Creative <span class="mystuffcolor">Stuff</span></h1>

    Goodluck
     
    themes4all, Apr 27, 2015 IP