Karkom Posted October 29, 2022 Share Posted October 29, 2022 Hello, All of a sudden today, lines across my website suddenly appeared in red rather then pink as the Header text. All settings in the "theme" are correct and there's nothing that should be in red. Could someone help please? Link to comment
Ziggy Posted October 29, 2022 Share Posted October 29, 2022 Can you share your website URL? Have you got any Custom CSS or other code added? 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)☕ Did I help? Buy me a coffee? Link to comment
Karkom Posted October 29, 2022 Author Share Posted October 29, 2022 Hi @Ziggy website is www.ghoulsmagazine.com and yes, I have custom css. I realised that Squarespace latest updates have messed up some of my custom code which I guess it's not longer recognized... Link to comment
Ziggy Posted October 29, 2022 Share Posted October 29, 2022 In your Custom CSS you have this (somewhere): .sqs-block-horizontalrule hr { background-color: #cf000f; height: 2px; margin-top: -14px; margin-bottom: 0px; } Remove or change the background color to fix your problem. 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)☕ Did I help? Buy me a coffee? Link to comment
Karkom Posted October 29, 2022 Author Share Posted October 29, 2022 (edited) My Man!!! that worked like a charm @Ziggy thank you so much! can I please pick your brain with another issue that has just popped up which I can't seem to be able to fix? this affects pages like www.ghoulsmagazine.com/editorials on mobile phone I had custom CSS in place to make all 6 buttons look "wider" on mobile to allow for the text to appear on just one row. Unfortunately, about a couple of weeks ago, something broke and as you can see, the 2 buttons on the right size have now text split in 2 different rows. Buttons looked wider before and text use to fit perfectly in 1 row. Any help with this as well would be so very much appreciated if you can! Edited October 29, 2022 by Karkom Link to comment
Ziggy Posted October 29, 2022 Share Posted October 29, 2022 I would try having the font size and padding sized in VW rather than REM or PX. The will adjust the text size and padding based on the width of the viewport (screen), so it will keep shrinking the text as the screen gets smaller, and therefore not introduce a line break. 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)☕ Did I help? Buy me a coffee? Link to comment
Karkom Posted October 29, 2022 Author Share Posted October 29, 2022 This is the code I have which doesn't seem to be working anymore. How would you adjust that for VW please? /* Small Button Styling */ .sqs-block-button-element--small { width: 95.99% !important; padding-top: 9px !important; padding-bottom: 9px !important; margin-top: 2px; margin-bottom: 2px; margin-left: -6px; font-weight: bold; font-size: 14px; } /* Small Button Styling - Small Mobile */ @media screen and (max-width:400px) and (min-width:100px) { .sqs-block-button-element--small { width: 95.95% !important; padding-top: 9px !important; padding-bottom: 9px !important; margin-top: 2px; margin-bottom: 2px; margin-left: -6px; font-weight: bold; font-size: 10.5px; } } /* Small Button Styling - Large Mobile */ @media screen and (max-width:1000px) and (min-width:400px) { .sqs-block-button-element--small { width: 95.99% !important; padding-top: 9px !important; padding-bottom: 9px !important; margin-top: 2px; margin-bottom: 2px; margin-left: -6px; font-weight: bold; font-size: 12px; } } Link to comment
Ziggy Posted October 29, 2022 Share Posted October 29, 2022 You'll have to test it, but on the mobile media query CSS change the 12px to 5vw, and see if it works and adjust up or down until it's correct. 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)☕ 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