Jump to content

Code Block disappear

Recommended Posts

Hey guys 

I am new to html customization but I followed some seemingly easy instructions on how to add a colored background to my text blocks by creating a code block . Here's the code I used: 

<div class="grey">
<h2>1. Inquiry </h2>
<p>text text text </p>
</div>
<style>
.grey { 
background: #ffe6ee; 
padding: 25px; 
text-align: left; 
}
</style>
I repeated this three more times and all of them show except the first block. Any ideas? I suspect it may have to do with the underline design code I added in as well:

<html>
<head>
<style>
h1 {
text-decoration: underline wavy;
}

Any suggestions or insight would be great! 

2020-01-14_16-01-55.jpg

Link to comment
  • Replies 1
  • Views 666
  • 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.