Jump to content

How to apply text styles on a JavaScript Code?

Recommended Posts


I am using SquareSpace 7.1, and I wanted to have two vertical menu as you can see bellow:


The left side menu in yellow I used CSS coding to place my navigation like that, which I can change the text color to different pages background. 

To create the 2nd vertical menu, I have followed the steps from this blog: 


Which tells me to Code Inject a JavaScript with #link to the pages, as you can see bellow:



But now I want to apply styles to the text on the left side menu, such as colors and margins. 

How can I apply the styles to my right side vertical-nav, and also be able to switch styles to different pages?

Or is there any other easier way to create two different vertical menus using only CSS? 


I appreciate a lot for your help!

Thank you!

Link to comment
  • Replies 3
  • Views 463
  • Created
  • Last Reply
  • 2 weeks later...
On 11/22/2020 at 8:28 PM, joaop2020 said:


I just replied you on my previous post about the vertical heading. 

The url is:


pass: 123456


Big thx!

Have you solved it yet? If no, can you describe again vertical heading problem?

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment


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.