• Resolved ADvi

    (@advi)


    Hi. I use Simple Social Icons plugin on my site. This is how it looks https://diligentchef.com (Follow Me block). And here https://diligentchef.com/best-iced-tea-maker/ how it looks when I use this widget in custom sidebar. <section id=”simple-social-icons-4″ class=”widget simple-social-icons”> is missing.
    When I add this class to custom wrapper code setting – my other widgets take Simple Social Icons plugin styles (but I don’t need this).

    I need each of my widgets got their OWN ORIGINAL <section> classes.
    How can I do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @advi,

    In custom wrapper you can’t use hardcoded classes names. You need to use it with variables, so depending on the widget used it will only use id and class right for that widget:

    <section id="%1$s" class="widget %2$s">

    In this form only social widget will have class “simple-social-icons” not other widgets

    kind regards,
    Kasia

    Thread Starter ADvi

    (@advi)

    But %1$s doesn’t work in this fields. This is PHP parameters, aren’t they?

    • This reply was modified 8 years, 10 months ago by ADvi.

    Hello @advi,

    It does work there. I tested that on my site and class and ID is pulled correctly there.
    Is this not working on your site? What is output there?

    kind regards,
    Kasia

    Thank you for using Custom Sidebars! I am going to close this ticket because we did not receive any follow-up information for troubleshooting. If this issue was not resolved, let us know and we can reopen the thread.

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

The topic ‘3rd party plugins styles are missing’ is closed to new replies.