Patterson Posted October 9 Share Posted October 9 The Google icon's code block on the linked site (PW - "321" is messing Up Section 4 of this site on the homepage. While the section and alignment looks perfectly fine in editor mode, when the site is published it doesn't show any of the section properly and shoots it down the screen. The icons are placed in using code blocks and the are found on the google icon library. Any help with this is greatly appreciated, thank you in advance! Link to comment
Ziggy Posted October 9 Share Posted October 9 Can you share your website URL? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Patterson Posted October 9 Author Share Posted October 9 @Ziggy Apologies - https://olive-mauve-g696.squarespace.com/ Thanks! Link to comment
Ziggy Posted October 9 Share Posted October 9 There's something in the way that you have this set up that is causing the problems. Can you share the code that you've used? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Patterson Posted October 9 Author Share Posted October 9 @ZiggySure thing - listed below from here and edited https://fonts.google.com/icons Code injection for header - <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" /> CSS For Icons ///// .material-symbols-outlined { font-size: 10rem!important; color:#005aaf; position: center!important; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48 } ///// Content in the code block <div style="text-align: center;"> <span class="material-symbols-outlined"> workspace_premium </span> Below is what is looks like in preview. Link to comment
Solution Ziggy Posted October 9 Solution Share Posted October 9 This is likely the problem, you are missing a closing </div> which will mess everything up: Here's the correction: <div style="text-align: center;"> <span class="material-symbols-outlined"> workspace_premium </span> </div> Patterson 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Patterson Posted October 9 Author Share Posted October 9 Thank will certainly do it, thanks again for the help, it is much appreciated. @Ziggy Ziggy 1 Link to comment
Ziggy Posted October 9 Share Posted October 9 1 minute ago, Patterson said: Thank will certainly do it, thanks again for the help, it is much appreciated. @Ziggy Happy to help! Patterson 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment