CSS Issue

  • 1
  • Problem
  • Updated 2 years ago
  • In Progress
In an earlier incarnation of the sitebuilder, custom fonts weren't displaying in the Sitebuilder. This was rectified on reporting the issue.

Now it's back again.
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes

Posted 2 years ago

  • 1
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hi Gop

My apologies for not responding earlier to this forum post. I'm aware of the Support chat you had with Monique. In order to assist you further, can you please clarify a little more what the actual problem is?

You're referring to the same problem having happened before. How did you report this to us, and if it was a forum post, could you maybe linke me to it again?

I can see in your Sitebuilder that you're using custom fonts created with Font Squirrel, and that you added these fonts to your Site CSS Editor. I'm referring to http://millionrice.yolasite.com/. When you say that your custom fonts don't display in the Sitebuilder, are you referring to their appearance on the pages? Do you see another font there instead? I can see your custom fonts display on millionrice.yolasite.com in the Sitebuilder. Or do you expect the custom fonts to appear in the menu boxes of the Style Designer in order to further edit them? If so, have they ever appeared in Style Designer for you to edit them before?

If you can provide us with more details, it'll help us investigate a lot. Thanks.
(Edited)
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
I reported via chat previously and it was resolved.

I understand that the substitution of standard and offered fonts is not done through the Style Designer. It is added through site CSS which is how I've included them.

They will display in Preview and published sites but the issue is that if you go into the SD and do certain mods of things not related specifically to a Custom Font, (specific example would be to change a font colour or attribute of a non-substituted font, even if they are not being touched upon) then immediately the default font shows on the site. To display the Custom Fonts means then that you go back to the CSS facility and immediately out and it will correct.

This was identified previously and fixed so that Custom Fonts once set immediately display in the Sitebuilder even if some unrelated modification is effected.
(Edited)
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hi Gop

Just to let you know, I haven't forgotten about your request, it's still being discussed. I'll update you tomorrow.
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Another thing that would help me in the meantime: When you say "in an earlier incarnation of the Sitebuilder" above, do you refer to a stage of the Sitebuilder where we didn't have the Style Designer yet? Or did you experience this problem with the Style Designer being in place and then it was solved by us?
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
The SD was operating at that time. I haven't kept the email from Yola on this issue at that time so I don't have a date and I can't recall who the operator was.
(Edited)
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hi Gop

I've looked into the issue you reported and was able to replicate it in your Sitebuilder for millionrice.yolasite.com. The reason for this is that the Style Designer settings take effect one step earlier than the CSS overrides. You can see this if you look at the order of appearance in your site's source code. First come the Style Designer settings, then the custom CSS overrides added to the CSS Editor.

So if you open the Style Designer in your Sitebuilder and edit something, it will just preview all changes made to the Style Designer section, not yet the ones of the CSS overrides section. Once you close the Style Designer, the only thing you need to do is click on the page refresh icon in the top right corner of your Sitebuilder workview in order to make the custom Site CSS apply as well (again). After clicking this icon, your custom fonts will show as before.

I'm afraid to tell you that it won't make sense to log this for our engineering right now as it won't get much attention due to a number of high-priority jobs on our agenda. I'm sorry about that, but hope you'll find refreshing your workview acceptable for now. The most important thing is that it doesn't physically change any settings you made about your website. Your custom font will still apply through your custom CSS edits.