Jump to content

Page with code blocks displaying incorrectly (Montauk template)

Recommended Posts

Site URL: https://www.walktheaisleweddings.com/rentals

I'm not sure how to describe this issue--basically, in my dashboard, my page is displaying as it should (see dashboard screenshot) but on the live page it is wildly incorrect. I inspected the page and I wasn't able to find the source of the issue in the page's code. The custom code elements on the page are the headers that read Wedding Decor and Rentals, Maryland and Virginia. Please help!

Screen Shot 2021-08-31 at 3.16.35 PM.png

Screen Shot 2021-08-31 at 3.20.51 PM.png

Link to comment
  • Replies 10
  • Views 369
  • Created
  • Last Reply

Top Posters In This Topic

@tuanphan Here are the sections:

WEDDING DECOR & RENTALS header

<div>
  <center><h2 style="font-size: 25px; text-transform: normal; letter-spacing: 2px;">
    Wedding Decor & Rentals 
    </h2></center>
</div>

<center><hr style="border: 0; height: 2px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(117, 164, 169, 0.75), rgba(0, 0, 0, 0));"></center>
    

MARYLAND header

<div class="body">
  
  <h2 class="one"><span><a name="maryland">Maryland</span></h2></div>

VIRGINIA header

<div class="body">
  
  <h2 class="one"><span><a name="Virginia">Virginia</a></span></h2></div>

 

Link to comment

Weddings page, the code should be

<div>
 <h2 style="font-size: 25px; text-transform: normal; letter-spacing: 2px;text-align:center;">
    Wedding Decor & Rentals 
    </h2>
</div>
<hr style="border: 0; height: 2px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(117, 164, 169, 0.75), rgba(0, 0, 0, 0));margin:0 auto;text-align:center;">
    

Maryland, the code should be

<div class="body">
  <h2 class="one">
    <span id="maryland">
      Maryland
    </span>
  </h2>
</div>

Virginia, the code should be

<div class="body">
  <h2 class="one">
    <span id="Virginia">
      Virginia
    </span>
  </h2>
</div>

 

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
On 9/9/2021 at 2:09 AM, Alchemi said:

@tuanphan Thank you, unfortunately I input that code and it still looks the same. Am I missing something?

That is strange. Can you duplicate the site & add me as a contributor? I will try checking in admin.

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
On 9/11/2021 at 9:31 PM, tuanphan said:

That is strange. Can you duplicate the site & add me as a contributor? I will try checking in admin.

Unfortunately my website is over the page limit for duplication. Is there anything else I can do to try to resolve this issue? I will need this page to be active very soon for an expected jump in traffic. 

Link to comment
On 9/17/2021 at 1:23 AM, Alchemi said:

Unfortunately my website is over the page limit for duplication. Is there anything else I can do to try to resolve this issue? I will need this page to be active very soon for an expected jump in traffic. 

Is there anyway you can add me as a contributor? I can take a look

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
On 9/19/2021 at 6:43 PM, tuanphan said:

Is there anyway you can add me as a contributor? I can take a look

I'm not sure but I will say I did just realize there is another code block. The "Locations" section is code. Here's an example of the code on this page https://www.walktheaisleweddings.com/bakers

<h2>
    Locations
  </h2>
<div id="nav-bar">
  <li><a href="https://walktheaisleweddings.com/bakers#maryland">
    Maryland
    </a></li>
   

This page is also messed up. There were more than I originally thought, it seems to becoming a widespread issue. 

Link to comment

@tuanphan I'm fixing the Bakers page so please see the issue on this page instead: https://www.walktheaisleweddings.com/caterers

I realized that on all of these pages (not only the ones with the problem, but every Vendor Category page) there is this code in the Advanced section of the page:

<!DOCTYPE html>
<html>
<head>
<style>

  li {
list-style-type: none; 
}

#nav p {
  font-size: 8px;
}
  
table {
  border: 1px solid;
  border-color: #D3D3D3;
  padding: 5px 
  cell-padding:10px
}

tr {
  height: 15px
}

td {
    vertical-align: middle
}
  
  
  
form {
                width:200px;
                margin:50px 10px;
}
.search {
                padding:8px 15px;
                background:#fff;
                border:0px solid #dbdbdb;
}
.button {
                position:relative;
                padding:6px 5px;
                left:-8px;
                border: 1px white;
                background-color:#8B9FA3;
                color:#fff;
}
.button:hover  {
                background-color:#998100;
                color:#fff;
}  
  
  

  


article, aside, figure, footer, header, hgroup, 
  menu, nav, section { display: block; }
  
  
.body {  text-align: center; background: transparent; padding: 10px 20px; }
 

  h2 {
    position: relative;
    margin-top: 20px;
  }
  
  h2.one {
    margin-top: 0;
    color: #8B9FA3;
  }
  
  h2.one:before {
    content: "";
    display: block;
    border-top: solid 1px #D3D3D3;
    width: 100%;
    height: 1px;
    position: absolute;
    top: 50%;
    z-index: 1;
  }
  
  h2.one span {
    background: #fff;
    padding: 0 5px;
    position: relative;
    z-index: 5;
  }

</style>
</head>
</html>

Is this part of my issue?

Link to comment
On 9/23/2021 at 11:06 PM, Alchemi said:

@tuanphan I'm fixing the Bakers page so please see the issue on this page instead: https://www.walktheaisleweddings.com/caterers

I realized that on all of these pages (not only the ones with the problem, but every Vendor Category page) there is this code in the Advanced section of the page:

<!DOCTYPE html>
<html>
<head>
<style>

  li {
list-style-type: none; 
}

#nav p {
  font-size: 8px;
}
  
table {
  border: 1px solid;
  border-color: #D3D3D3;
  padding: 5px 
  cell-padding:10px
}

tr {
  height: 15px
}

td {
    vertical-align: middle
}
  
  
  
form {
                width:200px;
                margin:50px 10px;
}
.search {
                padding:8px 15px;
                background:#fff;
                border:0px solid #dbdbdb;
}
.button {
                position:relative;
                padding:6px 5px;
                left:-8px;
                border: 1px white;
                background-color:#8B9FA3;
                color:#fff;
}
.button:hover  {
                background-color:#998100;
                color:#fff;
}  
  
  

  


article, aside, figure, footer, header, hgroup, 
  menu, nav, section { display: block; }
  
  
.body {  text-align: center; background: transparent; padding: 10px 20px; }
 

  h2 {
    position: relative;
    margin-top: 20px;
  }
  
  h2.one {
    margin-top: 0;
    color: #8B9FA3;
  }
  
  h2.one:before {
    content: "";
    display: block;
    border-top: solid 1px #D3D3D3;
    width: 100%;
    height: 1px;
    position: absolute;
    top: 50%;
    z-index: 1;
  }
  
  h2.one span {
    background: #fff;
    padding: 0 5px;
    position: relative;
    z-index: 5;
  }

</style>
</head>
</html>

Is this part of my issue?

try remove this

Quote

<!DOCTYPE html>
<html>
<head>

and this

Quote

</head>

</html>

 

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

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.