WordPress.org

Ready to get started?Download WordPress

Forums

Recent Posts Widget Extended
[resolved] CSS Override (6 posts)

  1. lisabeewd
    Member
    Posted 1 year ago #

    I am running into trouble trying to adjust the CSS. You have !important in your CSS next to variables like font-size and border. Because of that I am unable to over ride the size and eliminate the border in my CSS file (the plugin CSS file loads AFTER the theme CSS file so your !important over rides my !important). If I adjust your CSS won't it be overwritten in the next update?

    http://wordpress.org/extend/plugins/recent-posts-widget-extended/

  2. Satrya
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    Sorry for the delay, the reason I used !important is because some themes has an ugly style for widget.

    What theme are you using?

  3. lisabeewd
    Member
    Posted 1 year ago #

    I am using a custom child theme based on the standard twenty ten theme that comes with wordpress. The custom child theme is all my coding.

  4. Satrya
    Member
    Plugin Author

    Posted 1 year ago #

    the best way is create a new css rule in your child theme style like below

    .your-sidebar-class .rpwe {
     // your rules here !important.
    }
  5. lisabeewd
    Member
    Posted 1 year ago #

    Thank you Satrya, I was able to get my css rules to work by adding the ID that I used to wrap the rpwe plugin in front of the rpwe class names.

  6. lisabeewd
    Member
    Posted 1 year ago #

    Thank you Satrya, that worked!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.