Jump to content

HTML Formatting changes when published

Recommended Posts

Site URL: https://www.wheelhousecycleclub.com/mega-page-book-your-bike

Hi,

I'm new to coding. Can someone tell me what I'm doing wrong?

I could never get single line breaks when using 2 different heading text formats, so I used a code injection block hoping it would solve the issue.

It looks fine in the Squarespace editor, but when I look at the site, the formatting goes out the window...

The problem is actually under the "BOOK YOUR BIKE" drop down mega menu (Desktop only).  The link I provided above will link directly to the mega menu source page.

I have attatched screenshots below.

 

Here is my code block:

 

<br>  
<div class="byb-text">
  <h3><b>BOOK YOUR BIKE</b></h3>
</div>

<div class="byb-locations-text">
    <h4><a href="/buy-rides-regina">REGINA</a> | <a href="/buy-rides-winnipeg">WINNIPEG</a></h4>
</div>
<br>    
<hr width="30px;" 
        align="left"> 
<br>
<div class="my-account-text">
  <h4><b>MY ACCOUNT</b> <br><a href="/regina-1">REGINA</a> | <a href="/winnipeg-2">WINNIPEG</a</h4>
</div>
  
  


 

Screen Shot 2020-08-04 at 4.57.58 PM.png

Screen Shot 2020-08-04 at 4.57.50 PM.png

Link to comment
  • Replies 0
  • 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.