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

Contact Customer Care - Learn CSS - Buy me a coffee (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.