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

Add alt text to background image on 7.1

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 7/15/2021 at 7:30 PM, ruthgaunt said:

Site URL: https://www.ruthgaunt.co.uk

Hey, does anyone know how to add alt text to a background image on Squarespace 7.1?

Hi. You mean top banner image?

Add this to Settings > Avanced > Code Injection > Footer

$(document).ready(function() {
	$('[data-section-id="60c0ea43ee0b2951f6f8ca78"] .section-background img').attr('alt','enter alt text here');


Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

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

  • Create New...