cynanc Posted February 2, 2023 Share Posted February 2, 2023 (edited) Hello! https://www.skinnies.co.uk/skinnies-blog I want to move the Read More 'button' so that it sits permanently across the top of the image and the bottom of the blog excerpt - like this. I'm using the following code to get the effect I have now: .blog-more-link { visibility: hidden; position: relative; margin-top: 20px !important; } .blog-more-link { position: absolute; bottom: 22%; left: 38%; padding: 5px; } .blog-more-link:before { content: "READ MORE"; visibility: visible; position: absolute; left: 50%; transform: translatex(-50%); bottom: 0; width: 100px; font-family: "brandon-grotesque", sans-serif; font-weight: 500; font-size: 1em !important; font-style: normal; text-transform: none; color: #fff; background-color: #e40c2b; line-height: normal; border-radius: 15px 0px 15px 0px !important; padding: 15px 30px; } But the result is dependent on responsive design (the button moves around) and this isn't giving me the polish I want. Any way to achieve what I want? Thanks. Edited February 2, 2023 by cynanc Link to comment
Solution Beyondspace Posted February 2, 2023 Solution Share Posted February 2, 2023 1 hour ago, cynanc said: Hello! https://www.skinnies.co.uk/skinnies-blog I want to move the Read More 'button' so that it sits permanently across the top of the image and the bottom of the blog excerpt - like this. I'm using the following code to get the effect I have now: .blog-more-link { visibility: hidden; position: relative; margin-top: 20px !important; } .blog-more-link { position: absolute; bottom: 22%; left: 38%; padding: 5px; } .blog-more-link:before { content: "READ MORE"; visibility: visible; position: absolute; left: 50%; transform: translatex(-50%); bottom: 0; width: 100px; font-family: "brandon-grotesque", sans-serif; font-weight: 500; font-size: 1em !important; font-style: normal; text-transform: none; color: #fff; background-color: #e40c2b; line-height: normal; border-radius: 15px 0px 15px 0px !important; padding: 15px 30px; } But the result is dependent on responsive design (the button moves around) and this isn't giving me the polish I want. Any way to achieve what I want? Thanks. You can try the following code section[data-section-id="629c8614ba24eb3bd49cb5a5"] .blog-item .blog-basic-grid--text { position: relative; display: flex; flex-direction: column; } section[data-section-id="629c8614ba24eb3bd49cb5a5"] .blog-item .blog-basic-grid--text .blog-more-link { position: relative; display: block; bottom: -4rem; left: 0; flex-grow: 1; } Support me by pressing 👍 or marking as solution if this useful for you tuanphan and cynanc 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted February 2, 2023 Share Posted February 2, 2023 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
cynanc Posted February 2, 2023 Author Share Posted February 2, 2023 Yep! That's marvellous! Thank you so much! Beyondspace 1 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