RichardR Posted May 25, 2020 Posted May 25, 2020 Hi everyone, I have text on banners on the website that need to be a different colour and/or size on the mobile version, but I cannot find any CSS to do this. Example below of why I need it. You'll see the desktop version looks ok, but on the mobile it could do with the text being white and ideally moving down too if that's possible. Any ideas would be very much appreciated. Thank you.
RichardR Posted May 26, 2020 Author Posted May 26, 2020 anyone have any thoughts please? Many thanks.
tuanphan Posted May 26, 2020 Posted May 26, 2020 Can you share link to page in screenshot? 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!)
RichardR Posted May 26, 2020 Author Posted May 26, 2020 Of course, different image but same link: https://oarfish-salmon-gpgd.squarespace.com password: criminaljustice The colour of the text and position is something I may need for many pages.
RichardR Posted May 26, 2020 Author Posted May 26, 2020 Similarly on this page, the bottom moves up too far on the mobile version https://oarfish-salmon-gpgd.squarespace.com/probation-quarterly
tuanphan Posted May 27, 2020 Posted May 27, 2020 17 hours ago, Icclebug said: Similarly on this page, the bottom moves up too far on the mobile version https://oarfish-salmon-gpgd.squarespace.com/probation-quarterly Hi. I see you solved the problem? 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!)
RichardR Posted May 27, 2020 Author Posted May 27, 2020 No I'm afraid not. Screenshots below, on the mobile version i could do with moving the text and buttons down, with the option of changing the text colour - as it's difficult to read.
tuanphan Posted May 27, 2020 Posted May 27, 2020 4 minutes ago, Icclebug said: No I'm afraid not. Screenshots below, on the mobile version i could do with moving the text and buttons down, with the option of changing the text colour - as it's difficult to read. I think you can add overlay color over image If you like this ideal, I can check. 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!)
RichardR Posted May 27, 2020 Author Posted May 27, 2020 Yes please and thank you again for your help!
tuanphan Posted May 27, 2020 Posted May 27, 2020 3 minutes ago, Icclebug said: Yes please and thank you again for your help! Add to Home > Design > Custom CSS @media screen and (max-width:640px) { section#new-page .Index-page-image:before { background-color: rgba(0,0,0,0.2); } } 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!)
RichardR Posted May 27, 2020 Author Posted May 27, 2020 Many thanks. Can't see any change I'm afraid.
tuanphan Posted May 27, 2020 Posted May 27, 2020 try again with, if it doesn't work, keep the code & i will check again. @media screen and (max-width:640px) { section#new-page .Index-page-image:before { background-color: rgba(0,0,0,0.2) !important; } } 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!)
RichardR Posted May 27, 2020 Author Posted May 27, 2020 Ah I see, it does work, it changes the background slightly to make the text stand out. THANK YOU!!
RichardR Posted May 27, 2020 Author Posted May 27, 2020 6 hours ago, tuanphan said: try again with, if it doesn't work, keep the code & i will check again. @media screen and (max-width:640px) { section#new-page .Index-page-image:before { background-color: rgba(0,0,0,0.2) !important; } } Hi @tuanphan how do adapt this to use on any other pages, for instance https://oarfish-salmon-gpgd.squarespace.com/code-of-ethics It would be good to fade the background on the mobile version so the words Code of Ethics stands out. Many thanks
tuanphan Posted May 28, 2020 Posted May 28, 2020 15 hours ago, Icclebug said: Hi @tuanphan how do adapt this to use on any other pages, for instance https://oarfish-salmon-gpgd.squarespace.com/code-of-ethics It would be good to fade the background on the mobile version so the words Code of Ethics stands out. Many thanks @media screen and (max-width:640px) { body#collection-5ece2491a18c152c300e49e0 .Intro--has-image:before { background-color: rgba(0,0,0,0.2); } } 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.