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

Removing background image on mobile


narnado

Question

3 answers to this question

Recommended Posts

  • 1

This should remove it in The Wedding Party section, but may need to add back the color. I don't see the Hero section though. You should be able to do the same thing for that if you find the data-section-id.

@media (max-width: 768px) {
	section[data-section-id="5ea5df28b7d80f496463e8db"] .section-background img,
	
	{
		display:none;
	}
}

 

Creating websites using Squarespace at Design by Donuts 🍩

Link to comment
  • 0
On 2/26/2021 at 11:12 PM, kasandramurray said:

I was having issues with the above code. The comma after the img property causing the code not function properly. Once I removed that comma it worked for me. Here is my updated code:

 


@media (max-width: 768px) {
	section[data-section-id="5ea5df28b7d80f496463e8db"] .section-background img
	
	{
		display:none;
	}
}

 

Thank you both, this was a huge help!

 

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...