Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Two instead of four article-items in a row
New Landing › How can we help? › Themeforest Theme Support › Dante › Two instead of four article-items in a row
- This topic has 15 replies, 3 voices, and was last updated 9 years by Kyle – SUPPORT.
-
Posted in: Dante
-
March 18, 2015 at 3:49 pm #158740
Hi,
I like to have two instead of four article-items in a row at shopping card site.
You will see what I mean in the attached two pic.warenkorb.png = this is how it looks at present
warenkorb_mockup.png = this is how it sould look likeAttachments:
You must be logged in to view attached files.March 18, 2015 at 4:18 pm #158752Hi
Unfortunately there is no 2 column option for the shop in dante, sorry
– Kyle
March 18, 2015 at 4:27 pm #158759Hi Kyle,
but there are two colums!?
I didn´t understand what you mean.March 18, 2015 at 4:33 pm #158764Sorry I misunderstood.
I see what you mean, thanks for pointing this out, I will forward to the developer to check for you
– Kyle
March 23, 2015 at 12:28 pm #159863Hi Kyle,
are there any news about this?Thanks
March 23, 2015 at 12:37 pm #159871Hi there,
Thanks for pointing that out, fixed for next update. Add this custom css:
@media only screen and (min-width: 1200px) { .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product.first { margin-left: 30px; } } .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product:first-child, .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product:nth-child(4n) { margin-left: 0!important; } .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product.first { margin-left: 20px; clear: none; }
– Ed
March 23, 2015 at 1:22 pm #159906Hi Ed,
thanks. Now there are 4 items in a row but the margin size is not really right at all.
You can see it in the attached pic.
Attachments:
You must be logged in to view attached files.March 24, 2015 at 11:28 pm #160434Hi there,
Change that code to this –
@media only screen and (min-width: 1200px) { .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product.first { margin-left: 30px!important; } } .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product:first-child, .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product:nth-child(4n + 1) { margin-left: 0!important; } .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product.first { margin-left: 20px!important; clear: none; }
– Ed
March 26, 2015 at 4:01 pm #161150Hi Ed,
thank for your answer. It´s not working really good because the 4th article jumps in the second row if the I changes the screensize wider. You can see it in the attached video.Attachments:
You must be logged in to view attached files.March 28, 2015 at 6:03 am #161578Hi there,
Apologies for that, adjust to this code:
.woocommerce-cart .cart-collaterals .cross-sells ul.products li.product.first { margin-left: 20px!important; clear: none; } .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product:first-child, .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product:nth-child(4n + 1) { margin-left: 0!important; } @media only screen and (min-width: 1200px) { .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product.first { margin-left: 30px!important; } } @media only screen and (max-width: 991px) { .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product { width: 165px; } } @media only screen and (max-width: 767px) { .woocommerce-cart .cart-collaterals .cross-sells ul.products li.product.first { margin-left: 0!important; } }
– Ed
March 29, 2015 at 9:45 am #161631Hi Ed,
it is the same problem as before. It seems that your code isn´t working.
brebber
March 29, 2015 at 12:02 pm #161633Hi brebber
Can you add the code to the custom css box, rather than where you’ve added it – so that I can test and adjust?
– Ed
March 29, 2015 at 1:27 pm #161636Hi Ed,
I´ve done that.
Youl´ll find the code at the top of the coustom css area.Youn can put the espresso High Voltage at the shopping card to see the effect.
March 30, 2015 at 1:09 am #161670Check now, all should be sorted.
– Ed
March 30, 2015 at 9:09 am #161769Hi Ed,
nice! Thank you!
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.