Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

WordPress/ 300x250 ad cant fit

Nov 4, 2013 by mike231
Hi all
I am using WooThemes and I am having a hard time trying t fit a 300x250 ad into my 250 sidebar widget on my WordPress website. My style.css I see the size of the sidebar as 250. How can I make this fit without the ad being stretched outside the widget. Can anyone please help me fix this?
Thanks in advanced

2 Answers

0 votes
Nov 4, 2013 by expert
First backup your style.css and create a child theme for your current theme and then remove this code from the style.css child theme file
#sidebar .primary {
margin-left: 25px;
}
You would also need to add this line to avoid overloading
#sidebar .primary {
margin-left: 0;
}
0 votes
Nov 4, 2013 by WebProX
You can use Firefox in addition with the Firebug add-on to troubleshoot your CSS.