Home Forums WoodMart – Premium Template ADD TO CART BUTTON

This topic contains 8 replies, has 2 voices, and was last updated by  pogopie 2 months, 1 week ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #101386

    pogopie
    Customer

    I have the add to cart button strechted on PC and one phone it isn’t.

    Desktop photo as attachemnt
    Phone video url.
    https://fiverr-res.cloudinary.com/video/upload/t_fiverr_hd/hqhqsiowcsvnylg9ctyw?__cld_token__=exp=1547216720~hmac=7492109d030835d0df46f2e4254b542475e209b2640c34f34bfe854706e5f1ed

    Attachments:
    You must be logged in to view attached files.
    #101429

    Hello,

    Earlier we provided the code:

    .single-product-page .single_add_to_cart_button {
    	width:100%;
    }
    
    body .variations_form .variations .value select {
    	max-width: 100%;
    }

    We do not see it now in your custom CSS. Add the code to the Theme Settings > Custom CSS

    Best Regards

    #101435

    pogopie
    Customer

    Does not really work, should I add the !important tag after it ?

    #101461

    Hello,

    Add the code to the Theme Settings > Custom CSS > Global and we shall investigate the reason it does not work.

    Best Regards

    #101555

    pogopie
    Customer

    pasted it into global, and the button seems not to be stretched on mobile.

    #101606

    Hello,

    Insert the code to the Theme Settings > Custom CSS > Mobile

    .single-product-page .single_add_to_cart_button {
    	width:100%;
    }
    
    body .variations_form .variations .value select {
    	max-width: 100%;
    }

    Change 100% for any other value, for example, 50%

    Best Regards

    #101671

    pogopie
    Customer

    No, still not stretched on mobile phone

    #101675

    Hello,

    Sorry, my mistake.

    Add this to the Theme Settings > Custom CSS > Mobile:

    .single-product-page .single_add_to_cart_button {
    	width:100%;
    }
    
    body .variations_form .variations .value select {
    	max-width: 100%;
    }

    Best Regards

    #101676

    pogopie
    Customer

    This is the same as before. I will just use the !important tag, this seems to fix the issue. I hope it is okey

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘ADD TO CART BUTTON’ is closed to new replies.