Jump to content

How to apply text styles on a JavaScript Code?

Recommended Posts

Hello, 

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

701631143_Capturadeecra2020-11-22as00_27_00.thumb.png.8fb1b6232299c88119169f204a0fcedb.png

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: 

https://ryandejaegher.com/add-fixed-vertical-navigation-to-squarespace/

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

358014259_Capturadeecra2020-11-22as00_27_27.thumb.png.6259b59ed7c5a3c2632386c3893b2222.png

 

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
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 2 weeks later...
On 11/22/2020 at 8:28 PM, joaop2020 said:

Hi, 

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

The url is:

https://wolf-sailfish-jdw8.squarespace.com/

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

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.