Jump to content

Image Block Text Mobile Styles 7.1

Recommended Posts

Site URL: http://focusedartistsbranding.squarespace.com

On desktop, we can use color overlays to make image captions more legible. On mobile, hovers are not compatible so it automatically overlays the text right over the image. When the image is light and the font is light, this becomes illegible and there are no features to edit mobile styles to prevent this in 7.1 currently.

 

What is a workaround so I can at the very least change just the color of these image block captions and titles to a legible color? 

Link to comment
  • Replies 1
  • Created
  • Last Reply

You can add image overlay color, with this code (Home > Design > Custom CSS)

@media screen and (max-width:767px) {
div#page-section-5e3111ef0f6dd313bf55db35 .image-block .sqs-block-image-link:before {
    content: "";
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    position: absolute;
    z-index: 999;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.