WordPress.org

Ready to get started?Download WordPress

Forums

How to highlight widget text? (2 posts)

  1. kanefulton
    Member
    Posted 4 years ago #

    Hi. My site is http://www.audioscribbler.co.uk. In the sidebar, I'm trying to highlight the text hidden behind the stripey background a white colour. I can seem to alter properties of the text like font weight, size etc, but I can't highlight it. It's not normal text; it's from a widget. They all are in the sidebar.

    in sidebar.php, and I've tried the highlight-colour: #FFFFFF command in my main CSS file for the sidebar, to no avail. Am I going to have to edit the CSS files from all of my widgets to get the text highlighted? Help appreciated.

  2. krembo99
    Member
    Posted 4 years ago #

    #sidebar .widget
    {
    property :value;
    property2 :value2;
    }

    and

    #sidebar .recent
    {
    property :value;
    property2 :value2;
    }

    put these two rules, with the properties, and it will work..

    (and when I write , I do not mean to copy and paste that , but to do something like

    background-color: #D6D1D1; /**or whatever**/
    color: #A22C2C; /**or whatever**/

Topic Closed

This topic has been closed to new replies.

About this Topic