Okay
  Public Ticket #299770
Background for plugins in sidebar
Closed

Comments

  • Anandan started the conversation

    Hi,

    There are few plugins when added to the sidebar do not have a white background . Just like the facebook comment plugin. How do I add a white background so that the black text of the plugins are visible on the site?

  •  93
    djwd replied

    Hi there,

    Are we talking about PowerMag custom widgets? Could you please post an example as I couldn't find it in your site. Thanks

    Regards
    djwd

    Regards
    djwd

  • Anandan replied

    No, not the PowerMag custom widgets, its for 3rd party plugins. The attached image is for the one plugin I am using for comments. 

    Here is a test post created to show you how the widget looks. http://www.thatsmytop10.com/test-post/

    The sidebar has 2 widgets on it

    Subscription plugin from Mail Chimp and Top scorer from Slick Quiz plugin.

  •  93
    djwd replied

    Hi there,

    regular support don't cover third party plugins unfortunately. You would need to add some custom CSS to color those backgrounds the way you want them, I suggest to get familiar with some tool like Firebug to learn and target the correct css classes.

    Regards
    djwd

    Regards
    djwd

  • Anandan replied

    But if these plugins used on a different theme has a proper background. Its the Powermag theme that is coded in such a way right? 

    Eg. even for facebook comment plugin you had provided a code ".fb_iframe_widget {background-color:#dd9933!important}" 

    So I am in doubt if it's the plugins coding?

  •  93
    djwd replied

    Hi there,

    it's actually nobody's "fault". The free blocks setup implies not having a solid color background for site content as majority of themes have, so widgets that are not declaring a solid background will appear as such and you would need to force the background to have a solid color. Something generic to target all widgets as

    .widget {background-color: #dd9933}

    might work, although it could bring some side effects, better to target widgets specifically.

    Regards
    djwd

    Regards
    djwd

  • Anandan replied

    Ohh I am sorry if I sounded as if its the themes fault. Didn't mean it that way. :) 

    By the way I kinda worked on it and I got a background for that particular widget. Ya used something like that by modifying the code given for  facebook.

    Thank you for your help and reply. 

    PS - I am not a coder or developer. Just learning and playing with the code. So I may have sounded rude. Sorry again. :)

  •  93
    djwd replied

    No problem!

    I suggest to get familiar with some inspection tool as Chrome Inspector or FireBug extension, it will help finding the correct classes names you need to target in order to customize this little things.

    Regards
    djwd

    Regards
    djwd