katieburk Posted August 29, 2020 Share Posted August 29, 2020 Site URL: https://www.katiefrigginburk.com/about On my site (Farro template) I have a blue background color, except for the About page, where I want it to be a pink tone (https://www.katiefrigginburk.com/about). I have this CSS in "code injection" which makes the background of the page elements appear pink: <style> body#collection-5f3b2c45ab40561612eeb9bb { border-color: #F7E5EE; } #collection-5f3b2c45ab40561612eeb9bb header.Header.loaded { background: #F7E5EE; } #collection-5f3b2c45ab40561612eeb9bb main#main { background: #F7E5EE; } #collection-5f3b2c45ab40561612eeb9bb footer.Footer { background: #F7E5EE; } </style> This works correctly on desktop. However, on mobile, most of the background is pink but the bit around my main page header (with my site logo and navigation menu) is still blue. Does anyone know why or how to fix this? I tried a few things but nothing seems to work. Link to comment
tuanphan Posted August 29, 2020 Share Posted August 29, 2020 Mobile needs this CSS .Mobile-bar.Mobile-bar--top { background: #f7e5ee; } 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
katieburk Posted August 29, 2020 Author Share Posted August 29, 2020 7 hours ago, tuanphan said: Mobile needs this CSS .Mobile-bar.Mobile-bar--top { background: #f7e5ee; } This worked, thank you so much!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.