I have this css code to change the background colour of the webpages, however it changes all the backgrounds on all the pages.
Is their a way of not letting it change the background colour on certain pages ?
For instance if I did not want to change the background colour of the index.php page how would I go about it ?
All the instructions I find online tell how to implement the code, but not how I can stop it changing the background colour on certain pages.
This is the code to change the background colour :
Code: Select all
body {
background: #3ab43e;
background: linear-gradient(90deg,rgba(58, 180, 62, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 149, 0, 1) 100%);
}(actually its the cart, signup, account etc pages I dont want the background colour to change on, so index.php is just to give me a idea)
Thank you,
Steve
