Jump to content

Syntax Error Message

Recommended Posts

Site URL: https://arugula-iris-j5k6.squarespace.com/config/design/custom-css

I have made the large size button very large on this site, and when I go to mobile size, the left side of the border goes away. I'm trying the following code to see if I can keep it on screen at mobile size, but I'm getting a syntax error message for the first line. Can anyone tell me what's wrong with my code or another way to do this?

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

.content-wrapper {

max-width: 400px }

}

Link to comment
  • Replies 1
  • Views 399
  • Created
  • Last Reply
9 hours ago, kimimischke said:

Site URL: https://arugula-iris-j5k6.squarespace.com/config/design/custom-css

I have made the large size button very large on this site, and when I go to mobile size, the left side of the border goes away. I'm trying the following code to see if I can keep it on screen at mobile size, but I'm getting a syntax error message for the first line. Can anyone tell me what's wrong with my code or another way to do this?

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

.content-wrapper {

max-width: 400px }

}

I tried to paste into my custom css panel it still working right, could you show a screen capture?

image.thumb.png.6874ebc4c3c3d5f1fc9850e4f329e6fa.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.