Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] my background image on repeat-x creates a scrollbar - how to get rid of it? (http://forum.bytesforall.com/showthread.php?t=14895)

mafgirl Jul 17, 2011 03:48 PM

[SOLVED] my background image on repeat-x creates a scrollbar - how to get rid of it?
 
I'm using ATA 3.6.7 and WordPress 3.1.3.
To get the background image I put the following in: Overall Style & Config./Body, Text & Links/Body Style

font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
line-height: 1.4;
color: #001451;
background-image: url(/images/corrigan-bentley-sales-background2.jpg);
background-repeat: repeat-x;
background-color: #a2a8be;
padding-top: 20px; padding-bottom: 20px;

and put background to everything else to transparent in all the relevant ATA menus.

My layout is 95% fluid with a 1150px min

The background image is 10px x 1500px

I tried adding a width:100% to the above CSS but that didn't help. with a normal background colour it doesnt create the scroll bar, so I must be doing something wrong in the code?

Thanks for looking :)

lmilesw Jul 17, 2011 07:58 PM

Try adding the following to your code
HTML Code:

overflow: hidden;

mafgirl Jul 27, 2011 07:52 AM

Hello Larry :)

Thanks for your answer, although using this meant all overflow was hidden and I could therefore not scroll up and down either.
Weirdly enough, after then deleting the code, it was all working perfectly..
Unexplained, but fine by me :)


All times are GMT -6. The time now is 03:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.