Jump to content

HTML Formatting changes when published

Recommended Posts

Site URL: https://www.wheelhousecycleclub.com/



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

I have attatched screenshots below.

Here is my code block:


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

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


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