MarketingGuy Posted October 16, 2018 Share Posted October 16, 2018 Hi Everyone. I am brand new to the community and to PrestaShop my question is simply, how would I go about changing the background for the product view page it seems to use the main background specified by the default css file. When changing the background color on my main template it effects every page what I would like to achieve is instead of the background being targeted from the default background, Id like to setup a new background specific for the product page. Simply explained the main (home page) need's to be black the products background on the main page (home page and or category view) need to remain the white background as it is by default. when you click the product you would like to read more on or check out with I want that background to be a solid white in the center area meaning I don't want the black background to be on this page Id like it to be white. (#FFFFFF) now I would imagine from the current setup the product view & check out modules are separated so I believe I would have to setup a main div or something like a container in order to control the CSS behind the content am I correct? Any help is highly appreciated guys! Kind Regards, MG Link to comment Share on other sites More sharing options...
Rolige Posted October 16, 2018 Share Posted October 16, 2018 Hello: You can modify it from product CSS file and maybe use some !important. For example in PS 1.6.x: \themes\default-bootstrap\css\product.css Regards Link to comment Share on other sites More sharing options...
MarketingGuy Posted October 16, 2018 Author Share Posted October 16, 2018 31 minutes ago, Rolige said: Hello: You can modify it from product CSS file and maybe use some !important. For example in PS 1.6.x: \themes\default-bootstrap\css\product.css Regards Thank you for the reply, What I am trying to achieve is have the Product view page a solid white do you know what command I should add to the product.css file? So it will override the black background from my index.php page. Thanks again! Link to comment Share on other sites More sharing options...
Rolige Posted October 16, 2018 Share Posted October 16, 2018 Depends, normally by changing the body background color is enough, but if there are elements above this and have set a background color, you will need change this also or remove its background. 1 Link to comment Share on other sites More sharing options...
MarketingGuy Posted October 17, 2018 Author Share Posted October 17, 2018 Worked perfectly thank you kindly guys! 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