• Resolved ahoodie

    (@ahoodie)


    How do I change the color of only “one widget’s title” in my sidebar without affecting the other widgets?

    It’s pretty easy to change all the titles in the style.css document but I can’t seem to find a way to modify the font color for only one widget.

    Website: https://www.ahoodie.com

    I want to change the “SHOPPING CART” title to make it green.

    Hope a brilliant mind can help! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    You need to either edit the sidebar.php file and set the color for widgets title from there or edit the style.css of your theme and set the custom new style of that and assign it to widget section.

    Thanks,

    Shane G.

    in this case, it is easy, because the widget title has its own class:
    .widget_wp_shopping_cart h3 {color:#00c120;}

    simply add this to the end of style.css

    Thread Starter ahoodie

    (@ahoodie)

    Omg, you guys are awesome. And quick too!
    @ Alchymyth > you even got the color right ?? I’m impressed.
    Thanks a lot.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I change the color of only “one widget’s title”?’ is closed to new replies.