Wes81 Posted April 18, 2015 Share Posted April 18, 2015 Hi,is it possible to put your own background in the foundation template?Kind RegardsWesley Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 18, 2015 Share Posted April 18, 2015 The file cubecart.default.css is a very good place to have your rules that will overrule any set before.So, try:body {background-image: url(xyz); } Quote Link to comment Share on other sites More sharing options...
Wes81 Posted April 18, 2015 Author Share Posted April 18, 2015 Hi,I uploaded a image file to /domains/ncom.be/public_html/webshop/skins/foundation/imagesThe file calls HyperXGrunge2.jpg. How should I rename the body?Kind RegardsWesley Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 18, 2015 Share Posted April 18, 2015 You will try this:body { background-image: url(../images/HyperXGrunge2.jpg); } Quote Link to comment Share on other sites More sharing options...
Wes81 Posted April 22, 2015 Author Share Posted April 22, 2015 Hi,I tryed this but no succes for thisKind RegardsWesley Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 22, 2015 Share Posted April 22, 2015 The edit, as specified in post #4, was not completed. I see in cubecart.default.css:body { background-image: url/domains/ncom.be/public_html/webshop/skins/foundation/images/HyperXGrunge2.jpg);}It must be written this way:body { background-image: url(../images/HyperXGrunge2.jpg); } Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted May 7, 2015 Share Posted May 7, 2015 Hi, Having an issue with the back ground in foundation.....top-bar-section .dropdown label { color: #ffffff }body { background-image: url(../images/source/bud_logo.jpg); } I inserted body { background.... into cubecart.default.css with nothing appearing on the home page. Is body .... order specific?regardsDuncan Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 7, 2015 Share Posted May 7, 2015 When the browser starts loading a page's CSS resources, and the CSS file makes reference to an image, the location of the image is relative to the location of the CSS file.So, with the CSS file located here:root/skins/foundation/css/And the image you want is located here:root/images/source/The resultant path is:Up to /foundation/, up to /skins/, up to root, down to /images/, down to /source/or, url(../../../images/source/bud_logo.jpg); Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted May 8, 2015 Share Posted May 8, 2015 Thank Brian, thats a good thing to know. And well explained too. Quote Link to comment Share on other sites More sharing options...
fabriceunko Posted June 3, 2015 Share Posted June 3, 2015 Hi, I read your post and I managed to make a picture of page, by cons is it possible to make the image does not rise when the elevator down with the page Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 3, 2015 Share Posted June 3, 2015 Add this new property to the same CSS selector that has the background image:background-attachment: fixed; Quote Link to comment Share on other sites More sharing options...
fabriceunko Posted June 3, 2015 Share Posted June 3, 2015 Hello, I have been as you say. (in the cubecart.default.css file)but this seems not worked.body {background-image:url(../../../images/source/test/font.gif);} background-attachment: fixed; Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 3, 2015 Share Posted June 3, 2015 The closing brace is not enclosing the second statement:body { background-image: url(../../../images/source/test/font.gif); background-attachment: fixed; } Quote Link to comment Share on other sites More sharing options...
fabriceunko Posted June 3, 2015 Share Posted June 3, 2015 Thank you, it works very well. I'm new in the modification of the skin, and I learn a lot with you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.