Apply a css class to a tag

Hi there,

New here and wondered what was the best way I can do this. (sorry to be so crude)

In my -----

featured: yes

In my template ----

{{ if this post has a featured yes tag apply this css class .featured }}

In my css ----

.featured{ colour: red;}

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
3 Replies