Hi everyone,
I am creating a website with Wix (no Corvid mode as I am not an expert) and I need to change the font, character and size of a privacy and cookie policy text created by a third party source that I linked to the Wix website via the iFrame HTML option in the Wix editor.
The text of the privacy and cookie policy is referenced in a Javascript snippet starting with <a href="https
What do I need to do to modify it in order to have it with the same font, character and size of the Wix website layout and design?
Thanks in advance to whoever would like to help me. Best!
Victor
Hi Victor,
To modify the styling of your policy you’d need to add CSS according to your HTML tags (,
I’d pay attention to your site’s theme or font design settings and then add your styling to match your site. You can refer to w3schools to learn more about CSS.
I hope this helps!
Best regards,
Miguel
Thanks for your help Miguel.
So if I’ve understood correctly, I need to add CSS elements inside the JavaScript code of the privacy policy text after I paste it inside the iframe HTML of Wix, right?
Correct, however, you wouldn’t necessarily need to input your CSS within the JS code if your code has HTML tags like link .
In this case, you would just need to add inline CSS or select the element and add your styles separately.
Alternatively, you can add your styling within your JS code, as well but it’s not needed if you have HTML.
https://www.w3schools.com/jsref/prop_html_style.asp
Again this all depends on how the code in the iFrame is currently set up.