New Landing How can we help? Themeforest Theme Support Dante Two instead of four article-items in a row

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Dante
  • #158740
    brebber
    Member
    Post count: 122

    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 like

    Attachments:
    You must be logged in to view attached files.
    #158752
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Unfortunately there is no 2 column option for the shop in dante, sorry

    – Kyle

    #158759
    brebber
    Member
    Post count: 122

    Hi Kyle,

    but there are two colums!?
    I didn´t understand what you mean.

    #158764
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry I misunderstood.

    I see what you mean, thanks for pointing this out, I will forward to the developer to check for you

    – Kyle

    #159863
    brebber
    Member
    Post count: 122

    Hi Kyle,
    are there any news about this?

    Thanks

    #159871
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi 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

    #159906
    brebber
    Member
    Post count: 122

    Hi 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.
    #160434
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi 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

    #161150
    brebber
    Member
    Post count: 122

    Hi 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.
    #161578
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi 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

    #161631
    brebber
    Member
    Post count: 122

    Hi Ed,

    it is the same problem as before. It seems that your code isn´t working.

    brebber

    #161633
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi 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

    #161636
    brebber
    Member
    Post count: 122

    Hi 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.

    #161670
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Check now, all should be sorted.

    – Ed

    #161769
    brebber
    Member
    Post count: 122

    Hi Ed,

    nice! Thank you!

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register