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/MFjT “http://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?
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.
*May or may not contain any actual "CSS" or "Tricks".