Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter btzitney

    (@btzitney)

    Anyone?

    The h2 element contains a child node (anchor element) which is what you will need to style.. This is located in your style.css within line 31:

    a:link {
    	color: #b00;
    }

    Since this “selector:pseudo-class” is declared globally (meaning any anchor element will inherit this property i.e. (color:#b00) you might want to isolate only the anchor elements in your front/home page. Add this to your style:

    .post-content h2.post-title a
    {
    color:YOUR_COLOR_HERE !important;
    }

    *replace ‘YOUR_COLOR_HERE’ with the color you want to use (can be hex value or color name e.g. red/blue etc).

    This will override the style for the element you wish to modify.

    -Raby

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing color of post titles in Easel theme’ is closed to new replies.