Support » Plugin: Widgetize Pages Light » Widget styling not inherit from theme

  • Resolved KristoferB

    (@kristoferb)


    Ok, I love your plugin, does exactly what I need.

    Only issue is that it’s inheriting from the theme and I don’t want it to.

    On my main sidebar I have a 5px border line on the left side to separate from content but that’s carrying over to the otw sidebars and I don’t want it to.

    How do I stop it from inheriting the border? Everything else seems fine, just that left border I want gone from the OTW sidebars.

    Thanks

    https://wordpress.org/plugins/widgetize-pages-light/

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

    (@otwthemes)

    The idea behind inheriting is so your layouts look like your theme. In most of the cases that works great.

    If you need to further style a sidebar you can use its unique CSS class. Open Firebug in firefox or another inspector if you use another browser and look for the class. They look like this: otw-sidebar-5 where 5 is the sidebar id. You can also use this class otw-sidebar to style all sidebars created with this plugin together.

    I have a similar question relating to applying CSS styles to the widget. For some reason after applying the CSS changes, the otw-sidebar classes don’t change to what I have customized them to in the CSS.

    Here is my URL:
    http://eslexpat.com/esl-job-board/

    Here is my CSS code:

    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;}

    Any tips would be appreciated. Thanks in advance…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget styling not inherit from theme’ is closed to new replies.