Give help. Get help.

  • # January 17, 2013 at 8:09 pm

    I am making a WordPress theme and currently tackling the sidebar. One of the widgets in the sidebar has an image advertisement. Currently this is happening: []( “”). I styled all the widgets so they have a white background and border. But, for this advertisement I don’t want to show the background, border, or have padding. Is there any way to stop this from happening besides using the ID WordPress gives for each widget?

    # January 18, 2013 at 8:51 am

    Hmm, I am not really 100% sure I understand what you mean, but can’t you simply wrap that widget in div tag in your theme, or does the widget not generate classed, which can be themed?

    # January 18, 2013 at 5:56 pm

    You can either use the ID WordPress generates or add the code for the advertisement to your sidebar.php file. I believe, in the second case, the advertisement would have to come before or after the dynamic sidebar that is generating the widgets.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.