Guest Posted October 12, 2020 Share Posted October 12, 2020 Hello, I am wondering how to get my button block to be transparent here. I can see my image underneath but can not get the button to be transparent. It worked for my medium buttons and large buttons, but this one is in am image block. Please help. Link to comment
tuanphan Posted October 13, 2020 Share Posted October 13, 2020 Can you share link to page where you use image block? We can help easier. 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
Guest Posted October 13, 2020 Share Posted October 13, 2020 The site is not live, so I do not have a link. Link to comment
creedon Posted October 14, 2020 Share Posted October 14, 2020 Please set up a site-wide password. Post the password here. We can take then a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
creedon Posted October 14, 2020 Share Posted October 14, 2020 First remove or comment out the following CSS. Make a copy for safe keeping if removing .image-button,.image-button.sqs-dynamic-text { width:175px !important; background-color:transparent !important; background-image:url("https://static1.squarespace.com/static/5f7f72329f726c44987f2b9d/t/5f846621262bce78fcc4d7a2/1602512418551/Logos+v2-48.png"); background-size:100px; background-repeat:no-repeat; background-position:left; font-family:'Modernline'; font-size:15px !important; font-color: #966b20; } Then add the following. .image-button { background-image: url( https://static1.squarespace.com/static/5f7f72329f726c44987f2b9d/t/5f846621262bce78fcc4d7a2/1602512418551/Logos+v2-48.png ); background-size: 100px; background-repeat: no-repeat; } .image-button.sqs-dynamic-text { font-family: Modernline; } .primary-button-style-solid .sqs-block-image .design-layout-card .image-button a { background-color: transparent; color: #966b20; } Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Guest Posted October 15, 2020 Share Posted October 15, 2020 On 10/13/2020 at 8:30 PM, creedon said: First remove or comment out the following CSS. Make a copy for safe keeping if removing .image-button,.image-button.sqs-dynamic-text { width:175px !important; background-color:transparent !important; background-image:url("https://static1.squarespace.com/static/5f7f72329f726c44987f2b9d/t/5f846621262bce78fcc4d7a2/1602512418551/Logos+v2-48.png"); background-size:100px; background-repeat:no-repeat; background-position:left; font-family:'Modernline'; font-size:15px !important; font-color: #966b20; } Then add the following. .image-button { background-image: url( https://static1.squarespace.com/static/5f7f72329f726c44987f2b9d/t/5f846621262bce78fcc4d7a2/1602512418551/Logos+v2-48.png ); background-size: 100px; background-repeat: no-repeat; } .image-button.sqs-dynamic-text { font-family: Modernline; } .primary-button-style-solid .sqs-block-image .design-layout-card .image-button a { background-color: transparent; color: #966b20; } Let us know how it goes. Hello Thomas, It still does not have a transparent background. It is hidden behind the color. Link to comment
Guest Posted October 15, 2020 Share Posted October 15, 2020 I'm using the free stock on image that are available online. There are also some tools that change the filr format like this and it's totally working free. Link to comment
creedon Posted October 15, 2020 Share Posted October 15, 2020 2 hours ago, Karen8392 said: It still does not have a transparent background. It is hidden behind the color. Did you add the code to Design > Custom CSS? Here what my code looks like here. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Guest Posted October 16, 2020 Share Posted October 16, 2020 12 minutes ago, creedon said: Did you add the code to Design > Custom CSS? Here what my code looks like here. Yes I did. Link to comment
creedon Posted October 16, 2020 Share Posted October 16, 2020 Well I'm a bit stumped at this point. I do see a problem on line 39 on your pic. "https://static1.squarespace.com/static/5f7f72329f726c44987f2b9d/t/5f846621262bce78fcc4d7a2/1602512418551/Logos+v2-48.png" is repeated twice. I think that issue would only prevent the pic from showing up. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Guest Posted October 16, 2020 Share Posted October 16, 2020 43 minutes ago, creedon said: Well I'm a bit stumped at this point. I do see a problem on line 39 on your pic. "https://static1.squarespace.com/static/5f7f72329f726c44987f2b9d/t/5f846621262bce78fcc4d7a2/1602512418551/Logos+v2-48.png" is repeated twice. I think that issue would only prevent the pic from showing up. Thanks for all your help! Not sure what is going on either... Link to comment
Guest Posted November 1, 2020 Share Posted November 1, 2020 On 10/13/2020 at 8:30 PM, creedon said: First remove or comment out the following CSS. Make a copy for safe keeping if removing .image-button,.image-button.sqs-dynamic-text { width:175px !important; background-color:transparent !important; background-image:url("https://static1.squarespace.com/static/5f7f72329f726c44987f2b9d/t/5f846621262bce78fcc4d7a2/1602512418551/Logos+v2-48.png"); background-size:100px; background-repeat:no-repeat; background-position:left; font-family:'Modernline'; font-size:15px !important; font-color: #966b20; } Then add the following. .image-button { background-image: url( https://static1.squarespace.com/static/5f7f72329f726c44987f2b9d/t/5f846621262bce78fcc4d7a2/1602512418551/Logos+v2-48.png ); background-size: 100px; background-repeat: no-repeat; } .image-button.sqs-dynamic-text { font-family: Modernline; } .primary-button-style-solid .sqs-block-image .design-layout-card .image-button a { background-color: transparent; color: #966b20; } Let us know how it goes. Hey Thomas! With your code and a little playing around I got it to work. Also needed to change background color in the section themes to get the background to go away! Thanks for all your help! Here is the code that worked: //Button in Image Block .image-button-inner {text-align: left !important; padding-left: 19px;} .image-button .image-button-inner {background-image: url( "https://static1.squarespace.com/static/5f7f72329f726c44987f2b9d/t/5f9cf356ff6048551e2f02da/1604121430733/Logos+FINAL+v3-53.png"); background-size: 20px; background-repeat: no-repeat;} .image-button.sqs-dynamic-text {font-family: Modernline;} Link to comment
creedon Posted November 1, 2020 Share Posted November 1, 2020 I'm glad you found a solution! Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.