[personal profile] soleum posting in [community profile] style_system
Good Morning!

I did not see any recent posts in regards to this, but I need a little assistance with webfonts, please! I'm just coming over from IJ/LJ, and I've imported flexible squares from the livejournal layout I was using.

Here is the css file I made for the fonts I currently use on my IJ. I'd like to use Nanum Gothic for my body fonts, and the other fonts for my subject lines and sidebar texts.

I know, I should learn about DW customization and its cores and all that. I probably will eventually, but for now I'd really like to continue using this layout with my own fonts (if possible!)

Honestly, if I could live with nothing but S1 Generator layouts for the rest of eternity, I would. Maybe it's a sign that I'm getting old, lmao. (On that note, if you guys know of any DW layouts out there that are comparable...please let me know!)
Tags:

Date: 2017-08-03 12:47 pm (UTC)
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)
From: [personal profile] momijizukamori
You *should* be able to use @font-face declarations in your CSS - are they getting stripped out somewhere? I see three different embedded webfonts on your current DW layout, all from dropbox.

Date: 2017-08-04 07:04 pm (UTC)
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)
From: [personal profile] momijizukamori

Oh, I bet it's because IJ still uses S1, and we only have S2 - I'm gonna guess the functions that check the CSS for bad code are either choking on the link element or escaping it in a way that causes it to mess up the layout rendering. Can you try copying the entire contents of the external CSS file and putting them in your main one?

Date: 2017-08-10 07:00 pm (UTC)
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)
From: [personal profile] momijizukamori

It might be stripping it out, yeah, You can try embedding it straight in the layout layer you're using - something in Page::Print there should be a section with the head tags. I'd put the link html right after the opening or right before the close (inside the quote marks surrounding the HTML). If that doesn't work, you may have to find a place to host them rather than embedding them directly as base64 encodes :\

Date: 2017-08-03 09:09 pm (UTC)
baggyeyes: Bugs Bunny and the Bull (Default)
From: [personal profile] baggyeyes
Since you're writing a CSS sheet,
maybe try an @import? Example:

@import url('https://fonts.googleapis.com/css?family=Roboto');


I don't know if this will help. I've been away from CSS and HTML stuff for a while.

Date: 2017-08-03 09:11 pm (UTC)
baggyeyes: Bugs Bunny and the Bull (Default)
From: [personal profile] baggyeyes
Also, right at the bottom of the Customization/Font page, you can add the URL

http://www.dreamwidth.org/customize/options?group=fonts

Date: 2018-03-02 05:44 am (UTC)
marahmarie: (M In M Forever) (Default)
From: [personal profile] marahmarie
This is what I do, though it also works if I embed the HTML link to it in my theme layer (which I no longer do because that just creates a separate style sheet on DW with the same CSS - if I want to change the fonts around it's easier to keep it all together).

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 30th, 2025 11:15 pm
Powered by Dreamwidth Studios