Support » Plugin: Category Posts Widget » Change background color of title

  • Resolved cncladmin

    (@cncladmin)


    How do I change the background color of the main title bar that sits on top of the widget. I tried:

    .cat-post-item .widget-title {
    background: rgba(30,115,190,0) !important;

    …but it didn’t work…

    Also, how do I change the color of the main title text itself?

    Thanks,
    Paris

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Floeter

    (@kometschuh)

    If you use the widget as normal widget and added it in a widget area it is:

    .widget-title {
        background-color: #1ce2a4;
        color: #1518e6;
    }

    If you add the widget as shortcode in the content it is:

    .category-posts-shortcode {
        background-color: #ffc1c1;
        color: #941313;
    }
    .category-posts-shortcode ul {
        background-color: #fff;
        color: #333;
    }

    Do you use the widget as shortcode? (Your added link is a site you are workin on and nothing is visible for me.)
    May it is not easy to write a selector to get the widget title.

    Thank you, Daniel. The “widget-title” suggestion did the trick for me. I’m still quite new to working with css and html, but I’m starting to get the hang of it now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change background color of title’ is closed to new replies.