Courtney_C_C Posted November 28, 2022 Share Posted November 28, 2022 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: 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
paul2009 Posted November 28, 2022 Share Posted November 28, 2022 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 About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment