Jump to content

Text size and colour on mobile

Recommended Posts

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. spacer.pngspacer.pngspacer.png

Any ideas would be very much appreciated. Thank you. 

 

 

Screenshot 2020-05-25 at 18.56.24.png

IMG_6934.jpg

Link to comment
  • Replies 15
  • Views 1.2k
  • Created
  • Last Reply
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!)

Link to comment
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!)

Link to comment

 

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

Link to comment
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!)

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.