Charley14 Posted March 6 Posted March 6 Hi I am using the below code across my site and it works everywhere except a few blocks. <div style="text-align:center"><span style="font-family: proxima nova; text-align:center; font-size: 2.5em;">Work With Us</span> <div style="text-align:center"><span style="font-family: proxima nova; text-align:center; font-size: 1.5em;">*Our Packages* </span> https://www.violetjamesstudio.com/work-with-us When I try to do it on the contact page instead of italic, it appears with the * asterisk showing, does anyone know how to fix this? Thank you!
Charley14 Posted March 6 Author Posted March 6 Thank you very much for your help. I am looking to make the text italic. I have added in the new code you provided and it works perfectly, but makes the spacing closer than the other Markdown blocks. Is there a code to enter to select the spacing between the two lines? Thank you so much for your help.
NVan24 Posted March 14 Posted March 14 I have this question as well, but it seems like the answer has been deleted. @Charley14 Can you please share the code you were given? I have used Markdown blocks with ** surrounding the text to make it bold, but today when I edited one of those blocks, the asterisks are on display rather than making the text bold. i.e. **see text here**. I've also tried adding "font-weight: 500;" and "font-weight: bold;". Both did not work.
tuanphan Posted March 16 Posted March 16 On 3/15/2024 at 1:15 AM, NVan24 said: I have this question as well, but it seems like the answer has been deleted. @Charley14 Can you please share the code you were given? I have used Markdown blocks with ** surrounding the text to make it bold, but today when I edited one of those blocks, the asterisks are on display rather than making the text bold. i.e. **see text here**. I've also tried adding "font-weight: 500;" and "font-weight: bold;". Both did not work. Can you take a screenshot of your Markdown code? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
NVan24 Posted March 20 Posted March 20 Squarespace support has given me the answer. It is not possible to render markdown when placed within block level HTML tags, so I've used <strong></strong> to create the bold effect. https://www.markdownguide.org/basic-syntax/#html-best-practices
Charley14 Posted May 13 Author Posted May 13 Sorry I've just seen this. The code didn't work unfortunately, so I'm still looking for the answer if anyone knows? Thank you very much
tuanphan Posted May 16 Posted May 16 Change this syntax <div style="text-align:center"><span style="font-family: proxima nova; text-align:center; font-size: 1.5em;">*Our Packages* </span> to this <div style="text-align:center"><span style="font-family: proxima nova; text-align:center; font-size: 1.5em;font-weight:bold;">Our Packages</span> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment