The issue I'm having is that I need to add a second stylesheet to my web site. But I'd rather not update the 20+ HTML pages with a <link href="" /> code. Is there any way to link from the existing stylesheet to another? That way I only change one page? The second stylesheet is a font from Google Fonts. Any help would be great!

Recommended Answers

Answered by Travus 0 in a post from

I think this is what you are looking for.

@import url('/css/styles.css');

Jump to Post

All 4 Replies

Can you just edit the original CSS page and just copy/paste the styles from the new sheet?

I have no idea how to do that because it is a font library from google fonts. Its kind of like a server-side javascript library, but server-side font library so I can use fonts that might not exist client side.

Great! Thanks so much!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.