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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
spongebob-smc Posted February 18, 2021 Author Share Posted February 18, 2021 spong123 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.