Jump to content

Adding css stylesheet

Recommended Posts

Site URL: https://corn-apricot-zn88.squarespace.com/milestones

Hello!

I  am using a timeline by Knightlab with several 1000 lines of css code. The code is so long, it takes up all the css space in SS, so I wanted to add a .css stylesheet. This is what I did:

1) add a blank page to a folder (my code folder)

2) add text "timeline.css and then link it to the uploaded .css file

3) change the .css link in the original script so that it is the new stylesheet.

 

Am I missing anything? Will it take a little while to show up? Right now the page looks like it has no css. 

 

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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

2) add text "timeline.css and then link it to the uploaded .css file

3) change the .css link in the original script so that it is the new stylesheet.

 

CSS need rel tag, not <script> tag.

Quote

<link rel="stylesheet" href="enter css file url here"/>

 

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

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.