I can see that the woosw.ttf font is loaded by the plugin.
Is there a way to dequeue this and just use the inherited fonts? Or is this an icon font and 100% necessary?
I’m also questioning why this is still a TTF file and has not been updated/replaced with a Woff2 file given that Woff2 is widely supported nowadays.
]]>Is there a workaround here? Thank you!
]]>I installed a contact form from WPForms to my website. Couldn’t for the life of me find a way to edit the font color (you can customize the form in every way in the WPForms plugin except the font colors, which makes no sense) because my website has a black backdrop and the font was automatically black, so I had to create an element, put the form in the element, and give the element a white background so the black text in the contact form would appear.
I found a page where you can edit the form (https://wpforms.com/docs/styling-your-forms/#Background_Styles_) but when I go into the block page, it states “This block has encountered an error and cannot be previewed.”
So much issues just to change the font color is insane.
Anybody know a way, or an easier way to do this?
I set medium font size of the them to 16 px and disabled fluid font.
Still, when I view site on mobile iPhone landscape orientation, fonts are huge compared to font in portrait orientation.
Why is that and how to disable this behavior ?
Best regards
I’m using the twenty-twenty-four theme with a child theme (it’s still blank) and got the following problem.
I was working on the page, installed fonts via FSE and google fonts.
Then I changed the domain from non-www to www through the database.
So basically from
https://example.com
to
https://www.example.com
Now I get an CORS error because in the CSS that gets inserted into the <head>, the old non-www domain is referenced.
So it currently says something like:
@font-face{font-family:Outfit;font-style:normal;font-weight:100;font-display:fallback;src:url(‘https://example.com/wp-content/uploads/fonts/QGYyz_MVcBeNP4NjuGObqx1XmO1I4TC0C4S-EiAou6Y.woff2’) format(‘woff2’);}
instead of
@font-face{font-family:Outfit;font-style:normal;font-weight:100;font-display:fallback;src:url(‘https://www.example.com/wp-content/uploads/fonts/QGYyz_MVcBeNP4NjuGObqx1XmO1I4TC0C4S-EiAou6Y.woff2′) format(‘woff2’);}
How can I actually change/update the path? I figured this doesn’t work through the database.
So right now I’m working with a workaround…
function replace_font_urls_in_css_output() {
ob_start(function ($buffer) {
// Replace non-www URLs with www URLs in the CSS output
return str_replace(‘https://example.com’, ‘https://www.example.com’, $buffer);
});
}
// Start output buffering before content is sent to the browser
add_action(‘wp_head’, ‘replace_font_urls_in_css_output’, 1);
add_action(‘wp_footer’, ‘replace_font_urls_in_css_output’, 1);
Any idea, if there’s a native way to update the font path as well?
Cheers
Wolf
I choose upload then choose my font. The status bar just flashes back an forth. Nothing is uploaded. I have tried a few different fonts and the font is never uploaded just a flashing status bar.
Am I missing something?
Using a twentytwentyfour child theme but also tried with twentytwenty four.
thanks
mark
]]>My menu and site logo used to be in Josefin Sans. This is no longer the case since after the update where the font seems to have disappeared.
How can I solve this?
]]>