Jump to content

MISSING CLOSING '}' IN CUSTOM CSS WITH NO WAY TO FIND IT

Go to solution Solved by paul2009,

Recommended Posts

Hey all, 

I hope someone can help me. I noticed in the bottom right, that there was a red error, see the attached CSS code. It says "Missing Closing '}'. Can you help me figure this out? I appreciate all the help. Thank you.

 

@font-face {
font-family: 'EuclidCircularA-Bold';
src: url('https://static1.squarespace.com/static/654d06f1d98b18141cac1b3c/t/659c148660297c6b267d9830/1704727686818/EuclidCircularA-Bold.otf'); 
}
h3, h2, p {
font-family: 'EuclidCircularA-Bold';
}

@font-face {
font-family: 'EuclidCircularA-Regular;
src: url(https://static1.squarespace.com/static/654d06f1d98b18141cac1b3c/t/659c1f2749d6fa3499e6830e/1704730407570/EuclidCircularA-Regular.otf);

.sqsrte-large {
font-family: 'EuclidCircularA-Regular';
}

#custom-bar {
    background-color: #9E59C4; /* Set your desired background color */
    color: #FFFFFF; /* Set your desired text color */
    text-align: center;
    padding: 15px 0 20px 0;
    font-size: 24px;
}

/* Style the "Sign up" link */
#custom-bar a {
    color: #FFFFFF; /* Set your desired link color */
  font-weight: 700;
    text-decoration: none;
}

/* Hover effect for the "Sign up" link */
#custom-bar a:hover {
    text-decoration: underline;
}

header#header {
    margin-top: 55px; /* Adjust the margin-top value to create space below the custom bar */
}
/* Hide navigation items */
.header-nav {
    display: none;
}

Screenshot 2024-01-08 at 12.05.10 PM.png

Link to comment
  • Replies 1
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
16 minutes ago, Joyhealth said:

It says "Missing Closing '}'. Can you help me figure this out?

It is missing from line 12 🙂

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own 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 fuels my work.

Book paid help with a Squarespace Domain

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.