Jump to content

Nueva: Custom CSS code works in editor, but not live site (Font Changes)

Recommended Posts

First off, this is the first website I've spent a lot of time on. I'm new to coding with CSS. I took all of the coding off of websites and answers to similar questions.

I'm currently still using the trial version with Ajax loading disabled.

Here's a link to my website and a password:homecomfortsolutionsboise.comMnbb77

What I wanted to do:Have a slideshow gallery on the top of my page with text over top of it.Center the text over the imageEdit the font type and size

On my editor, it appears successful. When I go to the live site, everything is good except the font type isn't the same.

Here's the code I used:alt text

Any other information I could provide to help you help me?Any tweaks you think I could make to fix things?Is there a more ideal way to write code to create the effect I want?Thanks for the help!

css1.png.2eebe57e67e45ab1e6a6b5699b1399c4.png

css2.png.59800f70c77f72fb4fd649c141e75e99.png

Link to comment
  • Replies 6
  • Views 1.3k
  • Created
  • Last Reply

So this sort of worked. The font changed with your code, but it's not Oswald and when I opened up squarespace today to work on the site I noticed the font had reverted back to whatever it was before I was able to make it Oswald. I'm gonna play around a bit and see if I can troubleshoot some more.

Link to comment

I would like to use the Oswald default font in SS. It appears that when "sans-serif" follows the font, it applies Arial. When font-family isn't specified or "sans-serif" isn't present it applies a font similar to Times New Roman.

When I applied the code yesterday and wrote "font-family: Oswald" the font appeared as Oswald (the default SS font) on the editor, but not on the live site. Without changing anything, when I opened the editor this morning the font was no longer Oswald. I checked the CSS code and everything was the same. Quite interesting.

Thanks for your help!

Link to comment

Archived

This topic is now archived and is closed to further replies.

Guest
This topic is now 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.