Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WordPress Sidebar Widget

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42069
    ccrosby94
    Member

    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: [http://cl.ly/MFjT](http://cl.ly/MFjThttp://cl.ly/MFjT”). 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?

    #121357
    ralf100
    Member

    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?

    #121416
    eristic
    Participant

    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)
  • The forum ‘Other’ is closed to new topics and replies.