Jump to content

Color-coding blog posts.

Recommended Posts

Site URL: https://www.greenvibe.world/

Hi, I am designing a website in which I would like to color code the titles of blog posts. For example: a certain category of posts will be colored green, and another category will be colored red, and so on.. I am not able to do a simple markdown within the title of the post. Is what I want to accomplish possible? If so, would anyone be able to help me figure out this problem?

Thank you in advanced,

Jahranger

Link to comment
  • Replies 6
  • Created
  • Last Reply

You will need a css color code for every post you want to change.  You may be able to put it in a markdown or code block of the post itself never tried it but it won't hurt to experiment. The first part changes title color, the second part changes link color to the post. You can't put this in custom css unless you include the item number of each post. 

.post-inner-content .entry-title a {
    color: #fff;
}

body.single .post-inner-content a {
    color: #000;
}

choose or make a color here, copy and paste the #number 

https://www.hexcolortool.com/#000000

Link to comment

I see 

8 hours ago, JahRanger said:

Access password is graciemay1127. URL to page is https://www.greenvibe.world/new-blog

Thanks!

I see 2 passwords...?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.