WordPress.org

Forums

Testimonials by WooThemes
[resolved] Styling widget block (5 posts)

  1. DebbyK
    Member
    Posted 1 year ago #

    I realize that the testimonials plug-in doesn't include styling on purpose, but I am trying to figure out where to change the background color of the widget block. It is currently black. Do I need to add new style tags to the widget and then edit the CSS file accordingly? Or does it already use existing style rules somewhere that can be edited? A nice addition to the plugin would be an easy way to change simple setting like background color, font color, etc.

    Thank you,

    DebbyK

    https://wordpress.org/plugins/testimonials-by-woothemes/

  2. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    All styling should come from the theme. That is the purpose of a theme :-) You should be able to apply styling easily enough by targeting the . widget_woothemes_testimonials class.

    So to change the background color of the entire widget you'd add

    .widget_woothemes_testimonials {
    background: red;
    }
  3. DebbyK
    Member
    Posted 1 year ago #

    Thank you. I did apply that code to the custom.css file but nothing changed. I checked in a couple of different browsers. Should it go somewhere else? I'm fairly familiar with CSS. I guess what I am looking for are the specific locations to do the edits since there are so many files that are part of the plugin and WP.

  4. DebbyK
    Member
    Posted 1 year ago #

    Problem solved... thank you :)

  5. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    Glad you got it sorted :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonials by WooThemes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic