Custom font for CF7

Hi,
I want to set a custom font in a simple CF7 form in a website built with Pro and Cornerstone.
Often made, but this time something is wrong.
Please scroll down to the bottom of the main page, there is a contact form, that should be in “Roboto Condensed”, which I saved locally in Pro font configuration.
Even setting the usual css codes in WP Customizer / Custom CSS did not work.
I hope you can help.
Link in secure note.
Thanks & best regards,
Hannes

Hello Hannes,

Thanks for posting in! I have investigated your site and I found it that you have Mixed Content issues. Please update your custom CSS font style and update it;

src:url('https://freie-rednerin-justine.salilou.com/wp-content/uploads/2024/07/roboto-condensed-v25-latin-regular.woff') format('woff'),url('https://freie-rednerin-justine.salilou.com/wp-content/uploads/2024/07/roboto-condensed-v25-latin-regular.woff2') format('woff2');

The difference is that you only have http://freie-rednerin....... It should be changed to https

kindly let us know how it goes.

Thank you.
I just uploaded the font files again, but the URL remains with http instead of https.
I guess this happened through a migration with Duplicator plugin from another site, so that in the wp-config.php was the site url hard coded as http.
I deleted this entry, but still the contact form does not show the roboto font, and the browser console says:
"[Warning] [blocked] The page at https://freie-rednerin-justine.salilou.com/ was not allowed to display insecure content from http://freie-rednerin-justine.salilou.com/wp-content/uploads/2024/08/roboto-condensed-v25-latin-300italic.woff."
I have uploaded all font files again, and I have set up anew the font configuration in Cornerstone.
Can you see where it is set this way?
Thank you!
Hannes

Hey @salilou,

You can use this better search plugin to change the HTTP to HTTPS. Please check this out.

Hope that helps.

Thank you.
I found the cause of the issue and want wo describe it for others here:
In wp-config.php was an entry that had set the URL to http.
I don’t know where this came from, I guess by migration process.
Everything works now.
Best regards and thanks ou all for your great work!
Hannes

Hello Hannes,

It is good to know that you have figured out the cause of the issue and now it was resolved.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.