• Hi

    I want to change the link colour only in content its should not affect other part i tried uing a:hover {

    background-color: #008eb4;

    color: #fff;

    } but its chage all the link presnt in the blog

    any help

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s real easy, and youre heading the right way, but you hhave to specify in wich section you want to change it, for example, if you want to apply it to the links in your header, use:

    #header a:hover {
    background-color: #008eb4;
    color: #fff;
    }

    And thats it

    you need to create another class, apply the css to that class and then use that class for the links you want…

    example: a.content:hover{color: #ff; background-color: #008eb4;}

    then, you have <a href="whatever" class="content">sample</a>

    Thread Starter xinfo

    (@xinfo)

    @ tha king & anabelle

    when i apply this
    a.content:hover{color: #ff; background-color: #008eb4;}

    next post and pervious post colour also change take place i want to show different colour only in the post now where else

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘changing link colour’ is closed to new replies.