Change "Next" and "Previous" text color?

Posted in: Newspaper
Post count: 8

Hello, I am attempting to change the color of the text in a post for the “Next article” and “Previous article”. I inspected the element and the text appears to be housed in a span tag, but I can’t figure out what class to use when assigning a color with CSS. Could you kindly assist? I’m using the default post template if that helps.

Post count: 20688

Hi,

You just need to identify the class used and change the color of the span text like this – https://www.screencast.com/t/o8iqGsJJ Also if you want it to apply only for the default post template it should look like this – https://www.screencast.com/t/gAeped5N More about the browser inspector here – https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/ You must enter the code in Theme panel->Custom Css

.single_template .td-post-next-prev-content span {
color: yellow!important;
}

Thanks

Post count: 8

Thank you very much for the help. I know it was a simple question, but sometimes you just need to see an example for it to click. Much appreciated!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.