Jump to content

List - adjusting picture and button on line

Go to solution Solved by tuanphan,

Recommended Posts

On 3/3/2022 at 8:40 PM, Thomasaamodt said:

Site URL: https://www.ergon.no/

Hi,

image.thumb.png.8d5346e077ccc0884b5ad39b5fade472.png
the buttons are in line, but not the images.

Is it possible to get both images and buttons in line, even if the text has varying heights in between?

Password on the webside: passord

Try adding to Home > Design > Custom Css

.user-items-list-simple .list-item .list-item-content {
  display: flex;
  flex-direction: column;
}
.user-items-list-simple .list-item {
  height: 100%; 
}

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 3/5/2022 at 11:35 AM, bangank36 said:

Try adding to Home > Design > Custom Css

.user-items-list-simple .list-item .list-item-content {
  display: flex;
  flex-direction: column;
}
.user-items-list-simple .list-item {
  height: 100%; 
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Thank you,

it works only for the pictures, but the buttons are still in different heights.

Link to comment
  • Solution
On 3/9/2022 at 2:49 AM, Thomasaamodt said:

Thank you,

it works only for the pictures, but the buttons are still in different heights.

Add to Design > Custom CSS

/* Align home buttons */
@media screen and (min-width:992px) {
body.homepage .list-item-content__description {
    min-height: 100px;
}
}

 

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.