Jump to content

Changing placement and font of Title in Carousel using CSS

Recommended Posts

Site URL: https://raspberry-seabass-y6wf.squarespace.com

Hi there.

Two questions in regards to customising the Carousel list for testimonials. What code do I need to use to adjust the following -

1. I'd like the "Title" to sit below the description - I'll be using this for the person's name

2. I'd like the Heading/Title font in this section to be the same as the paragraph styling

https://raspberry-seabass-y6wf.squarespace.com
password: movebeyondwithava

 

Many thanks!

 

Link to comment
On 2/16/2022 at 2:04 PM, Keenan said:

Site URL: https://raspberry-seabass-y6wf.squarespace.com

Hi there.

Two questions in regards to customising the Carousel list for testimonials. What code do I need to use to adjust the following -

1. I'd like the "Title" to sit below the description - I'll be using this for the person's name

2. I'd like the Heading/Title font in this section to be the same as the paragraph styling

https://raspberry-seabass-y6wf.squarespace.com
password: movebeyondwithava

 

Many thanks!

 

Try adding to Home > Design > Custom Css

.list-item-content__text-wrapper {
  display: flex;
  flex-direction: column;

}
.list-item-content__title{
  order: 2;
  font-size: calc(var(--body-font-size-value) * 1rem) !important;
}

Let me know how it works on your site

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 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
On 2/21/2022 at 4:59 AM, Keenan said:

Thank you BaNgan.

I'm getting an error that says "Operation on an invalid type".

try this new code

.list-item-content__text-wrapper {
  display: flex;
  flex-direction: column;

}
.list-item-content__title{
  order: 2;
  font-size: calc(~"var(--body-font-size-value) * 1rem") !important;
}

 

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.