Tagged: font, font weight
-
AuthorPosts
-
November 5, 2018 at 11:04 pm #1030086
Hello, I have a problem with my subpages. For the H1 and H2 tags I have entered the Font Oswald in the Child Theme in the Settings (Styles) – which also works on the start page. Unfortunately, this does not work on the subsites. I’ve already tried to change the font-family via css but that does not work. Do you have an idea? Thanks for help
November 6, 2018 at 8:33 am #1030272Hey mariokesseler,
Your settings seems to be working fine, but this CSS is overriding:
.text-headline { text-transform: uppercase!important; font-size: 35px!important; line-height: 1.3em!important; margin-bottom: 0px; letter-spacing: 0.07em!important; }I’m not sure where that CSS is coming from though, maybe your slider? That would explain why it’s only working on the front page.
Best regards,
RikardNovember 10, 2018 at 12:01 am #1031872Hey Rikard, thanks for your quick response but it doesn´t affect the font familiy. I tried everything, but it does not work. I’ve put a filter in the functions.php to my_custom.css and that’s the code of this:
@font-face { font-family: 'oswaldextralight'; src: url('font/oswald-extralight-webfont.woff2') format('woff2'), url('font/oswald-extralight-webfont.woff') format('woff'); font-weight: normal; font-style: normal; } h1 { text-transform: uppercase!important; font-size: 30px; line-height:1.3em!important; margin-bottom: 0px; font-weight:300; letter-spacing: -0.02em!important; font-family: oswaldextralight!important; }thx for your help :)
November 11, 2018 at 6:45 am #1032133Hi,
Thanks for that, though I’m not sure what you mean by a filter? I can only see CSS? The CSS you posted doesn’t seem to be working either since the text you point out is using a basic serif font, not the one specified in your code. Could you make sure that the URL of the font is correct?
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.
