Jump to content

Problem with "content block" menus

Recommended Posts

I have encountered this problem 3 times, when coding some features to clients: CSS / JS conflicts with Blocks.

What code are you inserting into Custom CSS or Code Injection or Code Block?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
4 hours ago, refrakt said:

i found the culprit!  i took out all my code and put it back piece by piece while refreshing and testing.


was a CSS flexbox i made that wasn't even doing anything.  thanks for the suggestion! I wasn't sure what to try

Sometimes custom CSS affects all elements in the page. You can adjust the class name, so that it only affects the element you want, not the menu block.

For example in my case, it has CSS * {box-sizing: border-box;}

It has created the same problem as yours.

I changed it to .code-block * {box-sizing: border-box;}

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.