spongebob-smc Posted February 15, 2021 Share Posted February 15, 2021 Site URL: https://mouse-trout-epjy.squarespace.com/ I have a custom button which is displaying fine in Safari & Chrome, but incorrectly on Firefox. I am trying to use @supports (-moz-appearance) but getting nowhere. First screenshot shows how it should be, with the arrow nicely padded: Second screenshot shows what Firefox displays, arrow sitting behind text & not padded: And here's my code: .sqs-block-button-element--small.sqs-block-button-element { font-family: 'Effra'; font-weight: bold; font-size: 44px; white-space: nowrap; background-color: transparent !important; background-image: url("//static1.squarespace.com/static/5f3690f6995b741710ab4824/t/5f58e97c7a515e6376f127c3/1599662460713/arrow.png"); background-repeat: no-repeat; background-position: 90% 50%; background-size: 30%; padding-right: 5%; transition: all 0.3s ease 0s; } //fix button display issues on firefox// @supports (-moz-appearance) { .sqs-block-button-element--small.sqs-block-button-element { font-family: 'Effra'; font-weight: bold; font-size: 44px; white-space: nowrap; background-color: transparent !important; background-image: url("//static1.squarespace.com/static/5f3690f6995b741710ab4824/t/5f58e97c7a515e6376f127c3/1599662460713/arrow.png"); background-repeat:no-repeat; //this is the bit to be changed for FF// background-position: 10% 10%; background-size: 10%; transition: all 0.3s ease 0s; } } Does Squarespace not allow moz supports queries or am I just not targeting the element correctly? Link to comment
tuanphan Posted February 18, 2021 Share Posted February 18, 2021 Hi. What is access password? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
spongebob-smc Posted February 18, 2021 Author Share Posted February 18, 2021 spong123 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