move item to center of the page

move item to center of the page

Daniel19901
Shopify Partner
296 2 88

Hi, can anyone help me move this item to the middle of the line ?
it has a minimum of 2 so there is actually an empty one on the left which i can't get rid of:

https://a700ea-98.myshopify.com/

Daniel19901_0-1722946318574.png

 

 

Replies 3 (3)

BSS-TekLabs
Shopify Partner
2401 695 832

- Here is the solution for you @Daniel19901 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

 

@media screen and (min-width: 768px) {
    .multicolumn.card-grid.card-grid--2 {
        --card-grid-per-row: 1 !important;
    }
}

 

- Here is the result you will achieve:

BSSTekLabs_0-1722946630768.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

suyash1
Shopify Partner
10857 1340 1716

@Daniel19901 - please add this css to the very end of your theme.css file and check,
Shopify Admin -> Online Store ->Theme -> Edit code -> theme.css

 

@media screen and (min-width: 768px) {
    .card-grid--2 {
        --card-grid-per-row: 1;
    }
}

 

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

Rahul_dhiman
Shopify Partner
808 155 169

Hello @Daniel19901 
Go to online store ---------> themes --------------> actions ------> edit code------->theme.css ----> line number 9030
search this code

@media screen and (min-width: 768px) {
.card-grid--2 {
--card-grid-per-row: 2;
}
}

and repalce with this code

@media screen and (min-width: 768px) {
.card-grid--2 {
--card-grid-per-row: 1 !important;
}
}

 result
22.png

If this was helpful, hit the like button and accept the solution.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages