mhouseofsport Posted May 26, 2022 Share Posted May 26, 2022 Site URL: http://www.marleyshouseofsport.com My large buttons on my site are now coming up as invisible. Has squarespace recently changed the naming conventions in the code? I can't account for this error/change. I haven't changed anything my end. When I change the actual image in the code it does nothing either. Any help would be appreciated - D Link to comment
paul2009 Posted May 26, 2022 Share Posted May 26, 2022 6 hours ago, mhouseofsport said: My large buttons on my site are now coming up as invisible. Has squarespace recently changed the naming conventions in the code? Yes, this undocumented change was made at the end of February. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
mhouseofsport Posted May 28, 2022 Author Share Posted May 28, 2022 Great to know it's not just me going crazy. I have it in the CSS code to change all "large" buttons to my image like so: .sqs-block-button-element--large{background-color:transparent!important; background-image:url('https://static1.squarespace.com/static/60bd7f06fc7c64423c37fcc3/t/61be8daef06d6905b236e09a/1639878062359/toppng.com-black-button-icon-501x129.png'); background-size:contain!important; background-position:center;background-repeat:no-repeat!important}.sqs-block-button-element--large:hover{opacity:1!important;filter:drop-shadow(4px 4px 4px #222)} So what would I need to now change it to for it to work as it once did? Link to comment
mhouseofsport Posted May 30, 2022 Author Share Posted May 30, 2022 Bit of a legend around these parts Tuan was nice enough to solve this privately for me. Just in case anyone else is struggling with this adding "important" to the code in the below way solved the issue. (add !important to 2 attribute in the code) .sqs-block-button-element--large { background-color: transparent!important; background-image: url('https://static1.squarespace.com/static/60bd7f06fc7c64423c37fcc3/t/61be8daef06d6905b236e09a/1639878062359/toppng.com-black-button-icon-501x129.png') !important; background-size: contain!important; background-position: center !important; background-repeat: no-repeat!important } .sqs-block-button-element--large:hover { opacity: 1!important; filter: drop-shadow(4px 4px 4px #222); } Link to comment
Ibe Posted August 2, 2022 Share Posted August 2, 2022 Hi there. I'm having the same problem. I tried creating an image for a button today, but it just appears as blank. I tried both the code suggested in this thread and the following code, with no luck. Any help much appreciated... .sqs-block-button-element--large{background-color:transparent!important; background-image:url('https://static1.squarespace.com/static/5e5ec4efc85e7f05d4300da4/t/62e9855c798edf172f7e451c/1659471197080/The+Girl+downloaded+logo+and+C%27est+la+vie+trimmed.png'); background-size:contain!important; background-position:center;background-repeat:no-repeat!important} .sqs-block-button-element--large:hover{opacity:1!important; } Link to comment
Ibe Posted August 2, 2022 Share Posted August 2, 2022 Site URL: https://www.musicbythegirl.com/clv Hi there. I'm trying to create an image for a button today, but it just appears as blank. I tried both the following code, as suggested on an expert video tutorial, with no luck. Any help much appreciated... .sqs-block-button-element--large{background-color:transparent!important; background-image:url('https://static1.squarespace.com/static/5e5ec4efc85e7f05d4300da4/t/62e9855c798edf172f7e451c/1659471197080/The+Girl+downloaded+logo+and+C%27est+la+vie+trimmed.png'); background-size:contain!important; background-position:center;background-repeat:no-repeat!important} .sqs-block-button-element--large:hover{opacity:1!important; } Link to comment
tuanphan Posted August 3, 2022 Share Posted August 3, 2022 10 hours ago, Ibe said: Hi there. I'm having the same problem. I tried creating an image for a button today, but it just appears as blank. I tried both the code suggested in this thread and the following code, with no luck. Any help much appreciated... .sqs-block-button-element--large{background-color:transparent!important; background-image:url('https://static1.squarespace.com/static/5e5ec4efc85e7f05d4300da4/t/62e9855c798edf172f7e451c/1659471197080/The+Girl+downloaded+logo+and+C%27est+la+vie+trimmed.png'); background-size:contain!important; background-position:center;background-repeat:no-repeat!important} .sqs-block-button-element--large:hover{opacity:1!important; } Hi, Can you share link to page where you use button? We can take a look 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
tuanphan Posted August 3, 2022 Share Posted August 3, 2022 I don't see any buttons on this page: https://www.musicbythegirl.com/clv Can you share link to exact page where you use button? We can check easier 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment