Font Color Change for Hyperlinks in Posts & Pages

Discussion in 'ColorWay WordPress Theme' started by bizzyboy, Sep 19, 2013.

Thread Status:
Not open for further replies.
  1. bizzyboy

    bizzyboy Member

    Joined:
    Apr 2, 2013
    Messages:
    87
    Likes Received:
    1
    I am using Colorway with the Front Page off and showing a few blog posts. I would like to have a different color font for any text Hyperlinks I have within Posts and Page content.

    For example I would like to have all text Hyperlinks within Posts and pages as Underlined & Blue (#0000FF). And when someone hovers over the link the 'underlines' disappears.

    I would like to leave the Font color on the Widgets and Menus the same colour as that set in the theme default.

    Is it possible to setup separate CSS for what I need?

    Thanks

    Paul
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the following code in your Custom CSS
    (Appearance -> Theme Options -> Styling Options -> Custom CSS)

    Code:
    .blog_post a {
    color: #0000FF;
    text-decoration: underline;
    }
    .blog_post a:hover {
    text-decoration: none;
    }
    In place of "#0000FF" you can put your color or color code.
    This will solve your issue.
     
  3. bizzyboy

    bizzyboy Member

    Joined:
    Apr 2, 2013
    Messages:
    87
    Likes Received:
    1
    Many thanks. That works great for Blog Posts.

    Is it also possible to get CSS code to change the appearance of text Hyperlinks in 'Pages' too?


    Paul
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .content-wrapper a {
    color: blue;
    }
    .content-wrapper a:hover {
    color: red;
    }
    .content-wrap a{
    color: blue;
    }
    .content-wrap a:hover {
    color: red;
    }
     
  5. bizzyboy

    bizzyboy Member

    Joined:
    Apr 2, 2013
    Messages:
    87
    Likes Received:
    1
    Great, thank you so much. That's perfect.
     
Thread Status:
Not open for further replies.

Share This Page