posterchild Posted September 17 Share Posted September 17 Hi! Trying to added rounded corners and an outline to a couple of gallery slideshow blocks on one page of my website to make the images feel more cohesive with the design of the site. The corners and outline would be similar to the text card overlaid on top of these three galleries PAGE: https://www.poster-child.com/festivals Blocks: stage designs, festival merch, website/app/etc This is my first time asking a question so let me know if you need more info from me! Thanks so much Link to comment
Solution Lesum Posted September 17 Solution Share Posted September 17 @posterchild You can add this code snippet within the Custom CSS panel: .sqs-gallery-design-stacked-slide { border-radius: 10px !important; border: 1px solid #000 !important; } I replicated the rounded corners and outline to match the text blocks of stage designs, festival merchandise, websites, apps, etc. You can make changes in the code to match your design. posterchild 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
posterchild Posted September 17 Author Share Posted September 17 @Lesum thank you!!! worked like a charm, thanks for the speedy solution! Lesum 1 Link to comment
posterchild Posted September 17 Author Share Posted September 17 @Lesum by chance could you also help me... I'd like to make all these arrows opaque instead of transparent and then opaque on hover. Got any tips? Thanks so much! Link to comment
Lesum Posted September 17 Share Posted September 17 @posterchild Sure, you can add this code snippet: .user-items-list-carousel__arrow-icon-background-area { opacity: 1 !important; } .user-items-list-carousel__arrow-icon-background-area:hover { opacity: 0.7 !important; } posterchild 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
charlineca Posted September 26 Share Posted September 26 On 9/17/2023 at 6:53 PM, Lesum said: @posterchild You can add this code snippet within the Custom CSS panel: .sqs-gallery-design-stacked-slide { border-radius: 10px !important; border: 1px solid #000 !important; } I replicated the rounded corners and outline to match the text blocks of stage designs, festival merchandise, websites, apps, etc. You can make changes in the code to match your design. Hi, I tried this code on my website and it works for my homepage, but not for the https://thenooksrilanka.squarespace.com/stay page (pw is nook). I tried to add the collection and section components, and it will work for the border, but the corners just won't become round (there's literally a rectangle image inside a rounded border). Any clue what this can be? Link to comment
tuanphan Posted October 1 Share Posted October 1 On 9/26/2023 at 9:55 AM, charlineca said: Hi, I tried this code on my website and it works for my homepage, but not for the https://thenooksrilanka.squarespace.com/stay page (pw is nook). I tried to add the collection and section components, and it will work for the border, but the corners just won't become round (there's literally a rectangle image inside a rounded border). Any clue what this can be? Can you check password again? It is incorrect then we can help 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
Square-Spacer Posted October 4 Share Posted October 4 (edited) On 9/26/2023 at 3:55 AM, charlineca said: Hi, I tried this code on my website and it works for my homepage, but not for the https://thenooksrilanka.squarespace.com/stay page (pw is nook). I tried to add the collection and section components, and it will work for the border, but the corners just won't become round (there's literally a rectangle image inside a rounded border). Any clue what this can be? Hey, I had the same issue as you when attempting to use the code, the reasons appear to be that it adds a border and then rounds it off. To correct it you can increase the width of the border, but this forces the gallery off centre which wasn't what I wanted. After playing around with the code a bit I found the following solution: .sqs-gallery-design-stacked-slide img { border-radius: 10px !important; } .sqs-gallery-block-slideshow .slide.loaded .meta { border-radius: 10px !important; } I was using image titles and descriptions in some of my galleries as well, so I added the additional snippet to the bottom to round off the transparent layer that's generated around the text. Unfortunately there appears to be a very, very faint transparent outline where the corners are that I couldn't figure out how to remove. Edited October 4 by Square-Spacer Typo Link to comment
tuanphan Posted October 7 Share Posted October 7 On 10/4/2023 at 7:53 PM, Square-Spacer said: Hey, I had the same issue as you when attempting to use the code, the reasons appear to be that it adds a border and then rounds it off. To correct it you can increase the width of the border, but this forces the gallery off centre which wasn't what I wanted. After playing around with the code a bit I found the following solution: .sqs-gallery-design-stacked-slide img { border-radius: 10px !important; } .sqs-gallery-block-slideshow .slide.loaded .meta { border-radius: 10px !important; } I was using image titles and descriptions in some of my galleries as well, so I added the additional snippet to the bottom to round off the transparent layer that's generated around the text. Unfortunately there appears to be a very, very faint transparent outline where the corners are that I couldn't figure out how to remove. Can you share link to page where you have problem? 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