WordPress.org

Ready to get started?Download WordPress

Forums

Simple Social Icons
can't be used in two places on same page (5 posts)

  1. Kramarz
    Member
    Posted 9 months ago #

    Having fun here on Minimum Pro theme, not sure if the same issue is anywhere else but...

    Looks like this widget can't be used in 2 places same time, because styling of the first one gets overwritten by second one.

    To make a clearer explanation - using it on home-featured section and got another one in footer, as soon as I put 1 in footer the featured section one gets styling overwritten by the footer one.

    Solution is to use additional styling in css for the featured section one but still... kind of problematic.

    Anyone else can confirm the issue?

    http://wordpress.org/plugins/simple-social-icons/

  2. unick69
    Member
    Posted 9 months ago #

    I confirm this issue... the only difference in my setup is that there is one style for the home page and another for the sidebar widget in the site.

    Funny thing is that these are two different widget section on two different pages and none of them are shown at the same time (but it shouldn't matter anyway) yet I get the same issue.

    The style of the last created widget will override the style of any other one.

    It is kind of annoying any one has a clue on how to fix this issue ?

  3. Kramarz
    Member
    Posted 9 months ago #

    For myself I did a temporary 'fix' just targeted the ones I want to look differently using css in a stylesheet but that shouldn't be needed.

    Not sure how are your skills in that though :-)

    It is wierd behaviour indeed, would love to see it fixed plugin side-wise.

  4. unick69
    Member
    Posted 9 months ago #

    yeah that's exactly what I did ... but like you said, it shouldn't be needed !

    +1 to see this fix

  5. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 9 months ago #

    would love to see it fixed plugin side-wise.

    CSS selectors are based on HTML markup which varies by theme. The plugin does not know what that markup is other than the markup it generates for the widget itself. That markup that the widget generates is the same regardless of which widget area the widget is in.

    The only practical way to use the widget more than once is adding CSS to your stylesheet for one of the two widgets.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.