Jump to content

Centering an Uneven Row of List Items

Recommended Posts

Site URL: https://www.chantellewilliams.com.au

Hello SquareSpace community,

Could someone please help me centre an uneven row of list items?

I would like the second row of 3 list items to display in the centre of the above 4 list items.

I would like all of the boxes to remain the same size in this process too, as they are now.

Refer to 'Massage + Healing' page please - see screenshot attached for example.

www.chantellewilliams.com.au
Password: CW2022
Version 7.1

Screen Shot 2022-04-09 at 10.32.14 am.png

Link to comment

Add to Design > Custom CSS

/* Message and energy work */
@media screen and (min-width:768px) {
.user-items-list-item-container[data-section-id="624f97cfd7ac6b1217760c95"] li:nth-child(n+5) {
    position: relative;
    left: 50%;
}}

 

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
On 4/11/2022 at 9:40 AM, tuanphan said:

Add to Design > Custom CSS

/* Message and energy work */
@media screen and (min-width:768px) {
.user-items-list-item-container[data-section-id="624f97cfd7ac6b1217760c95"] li:nth-child(n+5) {
    position: relative;
    left: 50%;
}}

 

Thank you @tuanphan - this worked perfectly!

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.