I want to add different colors to one post title that I just published on blogspot / Blogger, I have tried using nth-type etc., but it doesn't work properly. Please help me on this.
I have made a picture, more or less like this:
You can use pseudo class :first-child
to select first post title as the following
.post:first-child .post-title a { color: red }
Update:
If elements are not in the same container you can use javaScript selector
Add this before </body>
tag to select the first .post-title
<script>
document.querySelector('.post-title a').style.color = 'red';
</script>
first-post
by JS then use CSS to add more properties. document.querySelector('.post-title a').classList.add('first-title');
.first-title:before { content: "Update" }
also .first-title { color: red }