Jump to content

Simple List Button Alignment Error on Mobile 7.1

Recommended Posts

Posted

When using Simple List block on 7.1, the buttons align to the right, even though every setting indicates it should align centered. 

It's been an issue for some time now, but I'm just now looking into it. Is this a Squarespace issue? Is there a setting I'm missing? I can't figure it out. 

Site in question (although I've seen it happen in other places I also use Simple List blocks) is https://hilarybeckwith.com/services

 

Screen Shot 2024-04-12 at 10.19.33 PM.png

  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

You can use this code to Website > Website Tools > Custom CSS

@media screen and (max-width:767px) {
#siteWrapper .user-items-list-item-container.user-items-list-simple[data-button-font-unit="rem"] .list-item-content__button {
    left: unset !important;
}
.user-items-list-simple[data-button-alignment="center"] .list-item-content__button-container {
    max-width: unset !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!)

Posted
13 hours ago, tuanphan said:

You can use this code to Website > Website Tools > Custom CSS

@media screen and (max-width:767px) {
#siteWrapper .user-items-list-item-container.user-items-list-simple[data-button-font-unit="rem"] .list-item-content__button {
    left: unset !important;
}
.user-items-list-simple[data-button-alignment="center"] .list-item-content__button-container {
    max-width: unset !important;
}
}

 

Thank you, I will try it for now. But is there a way to fix this WITHOUT using custom code?

It SHOULD already be doing this according to the settings - are you (or is anyone) aware of a setting option that I might be missing? Or is this an error within Squarespace?

Posted
9 minutes ago, hilaryb said:

Thank you, I will try it for now. But is there a way to fix this WITHOUT using custom code?

It SHOULD already be doing this according to the settings - are you (or is anyone) aware of a setting option that I might be missing? Or is this an error within Squarespace?

Also, code did not work.

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.