PrestaMonster Posted February 7, 2012 Share Posted February 7, 2012 Very newbie question but I wasn't able to find the solution by searching and I've already spent too much time on what should be a simple task. Basically I want to add a background image repeating x AND have a color behind (to complete the gradient no matter how long (y axis) the page becomes) Is this not possible? body {background-image: url('bg.jpg') repeat-x;font:normal 12px "Arial", Arial, Helvetica, sans-serif;color:#888;} but how can I add a bg color as well? Link to comment Share on other sites More sharing options...
PrestaSupport Posted February 7, 2012 Share Posted February 7, 2012 Hi Set Background like example below: body {#ffffff background-image: url('bg.jpg') repeat-x; Link to comment Share on other sites More sharing options...
PrestaMonster Posted February 7, 2012 Author Share Posted February 7, 2012 That didn't work?? Link to comment Share on other sites More sharing options...
PrestaSupport Posted February 8, 2012 Share Posted February 8, 2012 That didn't work?? Okey, the image or the background don't work? Image: it is very important to set right path maybe you can try: (../img/bg.jpg') example from one of our own site is: background: #e5e5e5 url(../img/body-bgr.gif) repeat-x top left; it works, maybe you should check if you had set force compile to YES before editing. B.O -->preferences-->performance-->force compile, set to yes Link to comment Share on other sites More sharing options...
PrestaMonster Posted February 8, 2012 Author Share Posted February 8, 2012 That worked! Thanks! 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