Changing color of post titles in Easel theme (3 posts)

  1. btzitney
    Posted 3 years ago #

    My site is http://thereisnoquit.com/

    I'm trying to figure out where in the code to go to edit the <h2> font color of the posts displayed on the front page. Can anyone help?

  2. btzitney
    Posted 3 years ago #


  3. Raby Yuson
    Posted 3 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Topic