Jump to content

Line color suddenly changed

Recommended Posts

  • Replies 7
  • Views 307
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment

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 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment

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!

5C38807E-B0B3-4BE3-907A-24B97FA76470.png

Edited by Karkom
Link to comment

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 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment

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

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 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.