siddaramesh Posted January 6, 2015 Share Posted January 6, 2015 hi, i have created one custom cms page i want to set background image for cms page. how to give background image to that page. i tried like this but it is not working: <div style="backgroud-image:url('my image url');"> <p> .............. .......................... </p> </div> Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 6, 2015 Share Posted January 6, 2015 Hi. You want to set different background image for each CMS page? Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
fred-vinapresta Posted January 6, 2015 Share Posted January 6, 2015 you should try by adding and id to your cms content container, then add the background in the cms.css file Link to comment Share on other sites More sharing options...
siddaramesh Posted January 6, 2015 Author Share Posted January 6, 2015 Hi. You want to set different background image for each CMS page? Regards. Robin. The CartExpert Team thanks for your response, not for all pages i want only one page.. Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 6, 2015 Share Posted January 6, 2015 You could try to include the id of the CMS in a class name to use for the body. Then you can set the image with CSS using that class containing the CMS ID. Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2015 Share Posted January 6, 2015 you have to know that page id then in styleshet file use something like: .cms-1 { background:('http://myimage/file.jpg'); } where 1 is the id of the CMS page for which you want to apply background Link to comment Share on other sites More sharing options...
siddaramesh Posted January 7, 2015 Author Share Posted January 7, 2015 you have to know that page id then in styleshet file use something like: .cms-1 { background:('http://myimage/file.jpg'); } where 1 is the id of the CMS page for which you want to apply background i tried this, but not affecting, my cms page id is 16 .cms-16{ background:(' my image url'); } in cms page: <div class="cms-16"> <p> . . . . . </p> </div> i coded like this, but background image not affecting.. Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 7, 2015 Share Posted January 7, 2015 Can you send a link to your site? Regards.Robin.The CartExpert Team 1 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