Jump to content

Why are my div's getting smaller?

Recommended Posts

Site URL: https://sparrow-piano-jh6p.squarespace.com/rewards

Hey there!

The password to the above site is villamadina. I used this code to make some coloured text boxes. 

<div id="overlay"><div class ="blue">

<h2><span class= "headeroverlay-white">my text here</span></h2>

</div>

<style>

.blue {

background: #005ba9;

padding: 10px;

text-align: center;

}

</style>

The "headeroverlay-white" is just "colour:white" in my custom css.

When I'm in squarespace it looks fine

Inside.png

 

but I just checked the site in incognito and found for some reason all the boxes are getting smaller?

 

Preview.png

How do I fix this? Thanks!

Link to comment
  • Replies 0
  • Views 298
  • Created
  • Last Reply

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.