Jump to content

Syntax error on line 1

Recommended Posts

I am having trouble with my custom code all of a sudden. It was working and now not. First was notified of the issue on my blog - see below:

image.thumb.png.73eac916de704e9a270c5ce0d13ee4af.png

When I go to my custom code I am getting Syntax error on line 1. See code below. If someone could please help me that would be greatly appreciated. 

{ https://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77f521a01022a48b18ab9/1642561362037/Untitled+design+(5).pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pngp, h1, h2 {
  -webkit-hyphens: manual !important;
     -moz-hyphens: manual !important;
      -ms-hyphens: manual !important;
          hyphens: manual !important;
}

@media only screen and (max-width: 640px) {
 body {
   word-wrap: normal;
   -webkit-hyphens: none;
      -moz-hyphens: none;
           hyphens: none;
}
}
  /* Hyphens */
p {
 -webkit-hyphens: manual !important;
    -moz-hyphens: manual !important;
     -ms-hyphens: manual !important;
         hyphens: manual !important;
}

@media only screen and (max-width: 480px) {

div#block-yui_3_17_2_1_1617070992459_2438 {
    width: 50% !important;
    margin-top: -106px;
    float: right;
    text-align: center;
}
  div#block-8fd4fbebc285cca00105 {
    text-align: center;
    width: 50%;
}
  div#block-yui_3_17_2_1_1617070992459_4790 {
    text-align: center;
}
}

 .Mobile-bar-branding-logo { content: url("https://static1.squarespace.com/static/5dd1f5e3fcb3826c704314d7/t/60b905a835da1c4f0387e9ce/1622738345945/field+text-01-01.png")
   !important;
max-height: 30px;
min-height: 30px;
width:auto !important;
}

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

1 hour ago, Courtney_C_C said:

When I go to my custom code I am getting Syntax error on line 1.


Delete the following:

{ https://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77f521a01022a48b18ab9/1642561362037/Untitled+design+(5).pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.pnghttps://static1.squarespace.com/static/61e4a69919859c18745fa00f/t/61e77d53b049ee0109f96f12/1642560851041/NZTMS+Enviromark.png

 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.