polynikes300 Posted August 1, 2013 Share Posted August 1, 2013 Hi I tried to changed the default theme to put a background image png using the css global. I put the image into the img file but apparently used the code that required the image to be placed into the css global file! What is the correct coding for css image file to show a new backround image taken from the image folder? AND NOT THE global folder. oops Thanks for any help and support. Poly Link to comment Share on other sites More sharing options...
vekia Posted August 1, 2013 Share Posted August 1, 2013 hello you want to use this image as a background for whole website or just for certain elements? Link to comment Share on other sites More sharing options...
polynikes300 Posted August 2, 2013 Author Share Posted August 2, 2013 Hi Thank you for your reply. I would like to put a background image into the default site that will show for the whole site. Depending on the image I may need to position this image left or right in order to avoid issues with the text on the page. Thanks Link to comment Share on other sites More sharing options...
vekia Posted August 2, 2013 Share Posted August 2, 2013 global.css file line ~53: body{ font:normal 11px/14px Arial, Verdana, sans-serif; color:#222; background:#fff } change the background:#fff to: background:#FFF url('here_the_url_to_the_picture'); Link to comment Share on other sites More sharing options...
polynikes300 Posted August 8, 2013 Author Share Posted August 8, 2013 Hi Thank you for the explanation and example. This was the code example that I used originally and it was checked with wc3 before 'placing' into the global css file. My problem now seems to be where to place the background image file? I put it into the 'img' folder and it did not function. Where should the background image file be placed? Thanks Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 upload the file to the: /img/cms/ directory then create a link: http://YOUR.STORE.COM/img/cms/YOUR_FILENAME.jpg Link to comment Share on other sites More sharing options...
polynikes300 Posted August 10, 2013 Author Share Posted August 10, 2013 Hi Vekia Sorry its taken a while to come back to you. Thank you for your help, I'll try that and hopefully it will be fine now. Poly Link to comment Share on other sites More sharing options...
polynikes300 Posted August 11, 2013 Author Share Posted August 11, 2013 Hi I still need to check this.... So the directory would be themes - default - img what is the cms part of the pathway? Poly Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 ok, so you want to upload image to the theme directory - that's ok in this case - you don't have to create subdirectory /cms/ it mean that you can upload file just to the /themes/default/img/ dir then use this url in the backgrund param: background:url('http://URL_TO_YOUR_WEBSITE.com/themes/default/dir/YOUR_IMAGE.jpg'); Link to comment Share on other sites More sharing options...
pildo Posted November 8, 2013 Share Posted November 8, 2013 (edited) i use this code: body{ font:normal 11px/14px Arial, Verdana, sans-serif; color:#222; background:#fff url('http://mechanicke-vahy.eu/themes/default/img/white_marble.jpg'); background-position: center top; } but i still have original background from default theme... url to background img are working... i have presta 1.5.5 Edited November 8, 2013 by pildo (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 9, 2013 Share Posted November 9, 2013 can you remove #fff (for test purposes only)? Link to comment Share on other sites More sharing options...
pildo Posted November 9, 2013 Share Posted November 9, 2013 problem was in macromedia dreamviewer... i think that css was uploaded, but it was saved only local on my pc... it solved Link to comment Share on other sites More sharing options...
vekia Posted November 9, 2013 Share Posted November 9, 2013 thank you so much for confirmation i tried to open your website but i see login popup, is there any chance to get an access there? only for test purposes, im so curious of course i can wait, but after all don't forget to share your website in the "TEST MY SITE" section Link to comment Share on other sites More sharing options...
pildo Posted November 9, 2013 Share Posted November 9, 2013 user and pwd are: kotuce 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