Jump to content

How to change radius on blog post container, add padding to text, push the "read more" button to bottom, and change colour of "read more" font?

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://designbycaitie.ca/blog

Hey there,

There are a few more changes I'd like to make to my blog collection page but can't figure out how to do them:

1. Add a 10px radius to the top corners of the container. (It worked for the bottom but didn't apply to the top.)

2. Add padding to the left and right sides of the text. (I thought I got it by targeting ".blog-basic-grid--text", but nothing happened the first few tries, and the last few it only worked on the left side and pushed the right side text out of the container, so I deleted my attempt.)

3. Push the "Read More" link down to (near) the bottom of the containers, so it's equally as far from the bottom as from the side (once the padding is in place).

4. Change the "Read More" link font colour to #606060.

Thank you in advance!

Screenshot 2022-10-12 140758.jpg

Edited by KatieQ
Link to comment
  • Solution
2 hours ago, KatieQ said:

Site URL: https://designbycaitie.ca/blog

Hey there,

There are a few more changes I'd like to make to my blog collection page but can't figure out how to do them:

1. Add a 10px radius to the top corners of the container. (It worked for the bottom but didn't apply to the top.)

2. Add padding to the left and right sides of the text. (I thought I got it by targeting ".blog-basic-grid--text", but nothing happened the first few tries, and the last few it only worked on the left side and pushed the right side text out of the container, so I deleted my attempt.)

3. Push the "Read More" link down to (near) the bottom of the containers, so it's equally as far from the bottom as from the side (once the padding is in place).

4. Change the "Read More" link font colour to #606060.

Thank you in advance!

Screenshot 2022-10-12 140758.jpg

For 1,2,4 Try adding to Home > Design > Custom Css

.blog-basic-grid .image-wrapper {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.blog-basic-grid--text {
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}
.blog-basic-grid .blog-more-link {
  color: red;
}

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

My testing

image.thumb.png.d4b512dfb2c11423967223559f532ed4.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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
  • 2 weeks later...
On 10/21/2022 at 11:39 PM, KatieQ said:

Amazing, thanks so much! Any ideas on creating an "absolute" position for the Read More button near the bottom of the container?

Try adding bottom attribute

.blog-more-link {
    border: 1px solid grey;
    padding: 0.4rem !important;
    margin-top: 0.5rem;
    border-radius: 10px;
    bottom: -5px;
    position: relative;
}

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.