kiararoyce Posted October 4, 2022 Share Posted October 4, 2022 Site URL: https://dropdolley.com Hey! I am seeking help to add two columns listing to my home page on mobile view. Currently, my mobile for the fan favorites section is only online one column. I know this is a css coding issue but the solutions I have found don't seem to work. What edits should I make to the code below for my HOME page (this code worked for my shop but not for mobile): @media only screen and (max-width:767px) { .products .list-grid { display: flex; flex-wrap: wrap; justify-content: space-between; } .products .grid-item { width: 48%; } } Link to comment
tuanphan Posted October 4, 2022 Share Posted October 4, 2022 Add this CSS then save & reload the site /* Home mobile 2 columns */ @media screen and (max-width:767px) { .user-items-list-item-container[data-section-id="6333970a4fff6b32d9075898"] ul { grid-template-columns: repeat(2,1fr) !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment