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!

Edited by pizzac4t
Link to comment
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

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

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