Jump to content

SS 7.1 - Adjust content width for list items (desktop DIFFERENT to mobile

Recommended Posts

Posted

Hi,

I have adjusted the column width for my list items to be 60%, as that is what I want it to be on desktop (see desktop screenshot). However on mobile, this makes the columns too narrow (see mobile screenshot), and I want it to be wider.

I can't seem to get the css right for this - any help please?

Thank you!

desktop.png

mobile.png

  • 2 weeks later...
Posted
On 2/23/2022 at 2:40 AM, Kate4604 said:

@tuanphan- apologies for the delay. It's https://www.klvirtualbizsupport.com/ and the password is "password123"

Add to Design > Custom CSS

/* List width on mobile */
@media screen and (max-width:767px) {
body.homepage .list-item-content__text-wrapper>* {
    max-width: 95% !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!)

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.