Jump to content

Featherlight CSS not working except in editor

Go to solution Solved by LemonstrikeCreativeStudios,

Recommended Posts

Fellow SQSPers, I've got Featherlight configured for a text popup on this page (site pw: teacup), and I've added some styling to the popup close button (below, top). Screenshot attached for what it should looks like. I can only see the CSS working when I'm logged into the. site and viewing the page in the editor. It is not working when logged out, on any type of window, incognito/private or otherwise. Meanwhile, the styling for the popup window itself (below, bottom) is working just fine. Anyone know why this might be happening in spite of the !important tags included? TIA!

.featherlight .featherlight-close-icon {
  line-height: 50px!important;
  width: 50px!important;
  color: #941114!important;
  font-size: 1.5rem!important;
}

.featherlight .featherlight-content {
  padding: 10px 42px 10px 35px!important;
}

Screenshot 2023-03-09 at 12.36.02 PM.png

Link to comment
  • Replies 2
  • Views 158
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add this code to Bottom of CSS box

.featherlight .featherlight-close-icon {
    line-height: 50px !important;
    width: 50px !important;
    color: #941114 !important;
    font-size: 1.5rem !important;
}

.featherlight .featherlight-content {
    padding: 10px 42px 10px 35px !important;
}

 

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!)

Link to comment
  • 3 weeks later...

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.