• When I logged into my site after being away awhile I noticed all the special recent post widgets were gone. I guess i had the widget set to “auto-update”. At any rate, I re-added them but now all their styling is kaput. Before all the special recent post widgets just picked up the theme styling. Now they are not. How do i get them back to using the theme styling vs whatever they are using now?

    http://ww.wp.xz.cn/extend/plugins/special-recent-posts/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Luca Grandicelli

    (@lgrandicelli)

    As specified in the docs, the newer version brings some important changes in the plugin structure.
    You need to edit the css file at special-recent-posts/css/css-front.css to apply your styles.

    Thread Starter bazookaman

    (@bazookaman)

    I’m not sure I understand. I think I’m just missing something. I don’t really want to go in and edit every little style in the css to match my theme. How do I get it to just pick up the theme styles? Is that not possible anymore?

    Plugin Author Luca Grandicelli

    (@lgrandicelli)

    Can you provide a link?

    Thread Starter bazookaman

    (@bazookaman)

    Sure. It’s http://www.csastrategies.com/

    I’ve switched all the other widgets back to the built in versions of the theme just to have it looking somewhat correct for now. But the video gallery at the bottom is what shows up when i activate the special recent posts version. Before the update, all I had to do was drag the widget over and fill in the info. It matched perfect. Now it looks like what you see.

    Plugin Author Luca Grandicelli

    (@lgrandicelli)

    @bazookaman i don’t see the SRP plugin on that site sorry.

    Thread Starter bazookaman

    (@bazookaman)

    The Video Gallery section at the bottom of the page uses the SRP widget. It’s right next to the Photo Gallery widget which is using the built in recent posts widget. Just so you can see the difference in how they are rendered.

    Plugin Author Luca Grandicelli

    (@lgrandicelli)

    @bazookaman Ok, let’s start with the titles.
    Your theme uses the <h4> selector to render every widget title and this is a choice made by the theme’s author. Of course, other plugins can use different selectors with different css classes. The SRP widget uses the <h3> selector with the “widget-title” class which is exactly the same used by the twenty theme default wordpress theme. The older SRP version also used the “widget-title” class for widget titles.
    Please understand that “widget-title” is a default wordpress class name.

    There isn’t a rule for this. Your video gallery is looking bad because of a different html markup.

    At the moment, the only choice you have is to manually edit the classes/class-main.php at line 793 and change the “h3” to “h4” and the “widget-title” to “main-title”.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Special Recent Posts] plugin went away. Then CSS’ is closed to new replies.