Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Coding to make cover page different for Mobile and Desktop version


JamieC

Question

Site URL: https://www.autocars.ltd/landing-page-mini-2

Hi, i'm creating a cover page and i think it looks good on desktop. however the mobile version has a slight issue because the words are unreadable due to the background image (IMAGERY?)
This is how it looks like now:
Desktop:287487498_Screenshot2020-11-30at12_16_35PM.thumb.png.941046ae8907bab3bac88f34797fa3e4.png
Mobile:
IMG_1245.thumb.PNG.f613156b75f3c0735c1d9dd3ecb418e6.PNG


I would like to know if there is any way to code and make the opacity of the overlay on the mobile version higher, so that I can read the words more clearly? something like this:
IMG_1244.thumb.PNG.9e7c869d7fd158d9887317233c35ccfe.PNG

Currently im adjusting the overlay colour on top of my background image to play with the opacity level of the background image.

1669310092_Screenshot2020-11-30at12_14_54PM.thumb.png.e7522a7c01c078f9e25457c103ca95ae.png

Edited by JamieC
Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

3 answers to this question

Recommended Posts

  • 0

Thanks tuanphan for the solution! When i preview it on squarespace preview (desktop and mobile version), it works nicely. However when I tried viewing on the actual domain on the phone, it didn't work for my case (i think because CSS doesn't work on cover page). Nonetheless thanks for your help, I think I will try to create a new page instead of using a cover page!

Link to post
  • 0
20 hours ago, JamieC said:

Thanks tuanphan for the solution! When i preview it on squarespace preview (desktop and mobile version), it works nicely. However when I tried viewing on the actual domain on the phone, it didn't work for my case (i think because CSS doesn't work on cover page). Nonetheless thanks for your help, I think I will try to create a new page instead of using a cover page!

Try adding this to Cover Page Settings > Advanced > Header

<style>
  @media screen and (max-width:640px) {
.scrim {
    background: rgba(0,0,0,0.75) !important;
}
}
</style>

 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...