Change the color of the titles


#1

Hello, how are you?
I would like to know if is it possible to change the color of the post titles that apear in the homepage widgets (Recent posts types A, B and C). I want them to be as the primary color.
Thank you so much.


#2

Hi,

Please post a link to your website, to the page where you have recent posts types a, b or c, so I can give you a working solution.

Kind Regards,
Csaba


#3

Sure, the site is http://www.encualquierviaje.com/.
Just tell you that I don´t still have the widget and the static page activated on.


#4

Hi,

You can change the post title and it’s hover on Recent Posts A, B and C with this Custom CSS:

.recent_posts_a .entry-title a, .recent_posts_b .entry-title a, .recent_posts_c .entry-title a {
    color: red !important;
}

.recent_posts_a .entry-title a:hover, .recent_posts_b .entry-title a:hover, .recent_posts_c .entry-title a:hover {
    color: blue !important;
}

Please add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also add the CSS to wp-admin -> Appearance -> Customizer -> Additional CSS so you won’t loose the changes after Theme or WordPress updates.

Please let me know how it works.

Kind Regards,
Csaba


#5

Worked perfect, thank you.
Love your theme!


#6

Hi,

Great! You’re most welcome! If you need help with anything else, please open a new topic.

Have a nice day!

Kind Regards,
Csaba