Jump to content

How to adjust content wrapper on a specific image without altering entire page?

Recommended Posts

On the mission of building my website and want to add a standard "claims banner" element to different pages.

I know very basic CSS and cannot figure out how to adjust the content wrapper on this specific element so the banner spans across 100% of my page's width (no padding, no margin).  How can I fix this?

image.thumb.png.c8cfc96c9ff8cf2055a33b5f29bafe3b.png

Ideally, I would like to create a custom code that would apply every time I upload this same banner file (which is a .png) in different pages of my site. Is this possible?

Hope someone can help 🙂

Julia

 

https://jellyfish-cow-prac.squarespace.com/
testjellyfish

Link to comment
  • Replies 1
  • Views 1.4k
  • Created
  • Last Reply

Hi. Add to Design > Custom CSS

/* fullwidth section */
[data-section-id="603f9d19e89933795e5ec7e6"] .content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
	max-width: 100% !important;
}
html, body {
	overflow-x: hidden;
}

 

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.