Alt100 Posted May 31, 2012 Share Posted May 31, 2012 (edited) Hello, I want to change the appearance of my shop by giving it a background pattern, but i want the areas around the modules to be white, is this easily done by tweaking the Global css file? Here is an example of what I'm trying to achieve. http://www.rucraft.co.uk/ I'm currently using the new 1.45 theme and have not yet changed any files. Any help is much appreciated. Edited May 31, 2012 by Alt100 (see edit history) Link to comment Share on other sites More sharing options...
Carl Favre Posted May 31, 2012 Share Posted May 31, 2012 Hi Alt100, You can easily add a background pattern. As you said you just need to tweak the global.css file for that. About your example, I cannot see it. Link to comment Share on other sites More sharing options...
Alt100 Posted May 31, 2012 Author Share Posted May 31, 2012 Carl, Many thanks for the reply. I'm not sure what happened to the example website, but it's working again now. http://www.rucraft.co.uk/ If its easily done can you give me some example code to put into the global css. Cheers Al. Link to comment Share on other sites More sharing options...
Carl Favre Posted May 31, 2012 Share Posted May 31, 2012 Ah yes I can see it now. For example you can add in global.css body { background-image:url(path/to/your/image) repeat; Link to comment Share on other sites More sharing options...
Alt100 Posted May 31, 2012 Author Share Posted May 31, 2012 That didn't work so i changed it to: background:url('../img/dots.gif')repeat it put the image on, however it goes all the way behind the modules, i'm trying to get it so the background stops at the edge of the modules, so it looks like a white piece of paper on a background. any ideas? Link to comment Share on other sites More sharing options...
Alt100 Posted May 31, 2012 Author Share Posted May 31, 2012 Sorted. I've just put this line into the global css file and it's worked ok #page {width:980px;padding:0 10px;margin:0 auto;background:#fff;padding-top:5px;} 1 Link to comment Share on other sites More sharing options...
bonnsaikitty Posted January 28, 2013 Share Posted January 28, 2013 Hello Alt100, thank you very much for your tips !! it WORKS !! Sorted. I've just put this line into the global css file and it's worked ok #page {width:980px;padding:0 10px;margin:0 auto;background:#fff;padding-top:5px;} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now