Support » Plugin: AVH Extended Categories Widgets » Can I have different colors for different hierarchy levels

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

    (@petervanderdoes)

    This can be done using CSS.

    For 1st level

    .sidebars ul > li {
    color: red;
    }
    .sidebars ul > li > ul > li a{
    color: red;
    }

    For 2nd level

    .sidebars ul > li > ul > li {
    color: blue;
    }
    .sidebars ul > li > ul > li a{
    color: blue;
    }

    etc

    Hi, I would like to customize the way the output looks on the widget’s post page, but there was a problem editing the CSS file.

    Should I be editing the CSS file in the child theme that I am using (called ‘Hueman’ theme) or is there a different CSS file associated with the AVH plugin itself?

    https://wordpress.org/plugins/extended-categories-widget/

    I am using this code in the main CSS file, but it doesn’t change anything:

    h2.widgettitle { color: #666; font-size: 18px; font-weight: 600; line-height: 2em;}

    .otw-sidebar-1 a { color: #ff0000; line-height: 1.5em;}
    .otw-sidebar-1 ul { color: #666; font-size: 18px; line-height: 1.5em;}
    .otw-sidebar-1 li { line-height: 1.5em;}

    .otw-sidebar-2 a { color: #ff0000; line-height: 1.5em;}
    .otw-sidebar-2 ul { color: #666; font-size: 18px; line-height: 1.5em;}
    .otw-sidebar-2 li { line-height: 1.5em;}

    .otw-sidebar-3 a { color: #ff0000; line-height: 1.5em;}
    .otw-sidebar-3 ul { color: #666; font-size: 18px; line-height: 1.5em;}
    .otw-sidebar-3 li { line-height: 1.5em;}

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I have different colors for different hierarchy levels’ is closed to new replies.