hsrcoughlan Posted May 22, 2013 Share Posted May 22, 2013 (edited) Hi, Basically what i want to do is to have a background on the edges of my site and leave the middle white. I want to have my site logo repeated all over the background. Help would be appreciated . Regards, Henry Edited May 24, 2013 by hsrcoughlan (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted May 23, 2013 Share Posted May 23, 2013 From my memory (try to check): in themes/<your theme folder>/css/global.css find and add: #page { background: #fff; <-- add } and body { font: normal 11px/14px Arial,Verdana,sans-serif; color: #222; background: #fff url('<URL OF YOUR PICTURE>') repeat-x fixed; <-- add } Hope this is correct. give it a try, pascal Link to comment Share on other sites More sharing options...
hsrcoughlan Posted May 24, 2013 Author Share Posted May 24, 2013 Thanks, I will give this a try ! Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 Thanks, I will give this a try ! don't forget to let us know when it will work for you or not regards Link to comment Share on other sites More sharing options...
hsrcoughlan Posted May 24, 2013 Author Share Posted May 24, 2013 hi, as you can see here it has not repeated down the page as well ? Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 it's becasue you've got there: repeat-x fixed; remove it from: background: #fff url('<URL OF YOUR PICTURE>') repeat-x fixed; <-- add Link to comment Share on other sites More sharing options...
hsrcoughlan Posted May 24, 2013 Author Share Posted May 24, 2013 so should i remove 'repeat-x fixed;' or just 'fixed' Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 it all depends on what you exactly expect. more informations about parameters for background you can read here: http://www.w3schools.com/css/css_background.asp Link to comment Share on other sites More sharing options...
hsrcoughlan Posted May 24, 2013 Author Share Posted May 24, 2013 Ok, i have managed to sort that out, what about keeping the centre of the page white, i have been able to keep the columns and the centre white but what about the bits in-between ? Link to comment Share on other sites More sharing options...
PascalVG Posted May 24, 2013 Share Posted May 24, 2013 If your picture is small, probably change to repeat; only or to repeat fixed; if you don't want to move the picture with the scrolling Link to comment Share on other sites More sharing options...
PascalVG Posted May 24, 2013 Share Posted May 24, 2013 did you add the #page stuff I mentioned? Link to comment Share on other sites More sharing options...
PascalVG Posted May 24, 2013 Share Posted May 24, 2013 (edited) (There is already a #page { } in your global.css probably around line 41, change this: #page { } into this: #page { background: #fff; } Edited May 24, 2013 by PascalVG space between # and page deleted (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted May 24, 2013 Share Posted May 24, 2013 I see your picture has (too) much white left and right of the logo, so it doesn't really show on the right hand side (and only one row on the left). Maybe take out some white space... Link to comment Share on other sites More sharing options...
hsrcoughlan Posted May 24, 2013 Author Share Posted May 24, 2013 Thanks everyone, all SOLVED here Link to comment Share on other sites More sharing options...
PascalVG Posted May 24, 2013 Share Posted May 24, 2013 Glad to hear! please mark the topic itself as solved (see my footer for instruction how). That really helps others with the same problem. Thanks, pascal Link to comment Share on other sites More sharing options...
Recommended Posts