SergentR64 Posted September 4 Share Posted September 4 (edited) Site URL: https://caper-gerbil-de7g.squarespace.com/espanol/productos Hi I found resources to change the background colours for the entire site, but not for just one particular page. The page only has one section besides the header and footer sections. The background colour of that unique section is #A1C0A7. I want the section in question to have the colour #F1F7F2 on the mobile version. How can I make that change with a CSS code and can I make it without knowing the section's ID? I tried this, but it did nothing: section { background-color: #A1C0A7; } @media screen and (max-width: 640px) { section { background-color: #F1F7F2; } } Password is riviera Thanks. Edited Monday at 05:24 PM by SergentR64 Added a password for the link. Link to comment
tuanphan Posted September 7 Share Posted September 7 The site is private, you can follow this guide then we can check easier SergentR64 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment