Home Forums WoodMart support forum CSS CUSTOM FOR PRODUCT PAGE

CSS CUSTOM FOR PRODUCT PAGE

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #302233

    Riccardo95
    Participant

    Hi Guys,

    I’m developing another website using your theme. I copied this css from another website ( http://www.newmottinoxsrl.it)

    CODE:

    Global Custom CSS:

    .single_add_to_cart_button {
    background-color: #3cca94;
    min-width:230px;
    height: 70px
    }
    body .quantity input[type=button] {
    min-width: 25px;
    height: 70px;
    }
    body .quantity input[type=number] {
    width: 30px;
    height: 70px;
    }
    .btns-shop-light .cart-totals-inner .checkout-button {

    padding: 25px 30px 25px 30px;

    }
    button#place_order {

    padding: 30px 30px 30px 30px;

    font-size: 18px;

    }
    .wc-stripe-elements-field, .wc-stripe-iban-element-field {

    padding: 20px;

    }
    body.woocommerce-checkout input[type=text],
    body.woocommerce-checkout input[type=email],
    body.woocommerce-checkout input[type=password],
    body.woocommerce-checkout input[type=search],
    body.woocommerce-checkout input[type=number],
    body.woocommerce-checkout input[type=url],
    body.woocommerce-checkout input[type=tel],
    body.woocommerce-checkout input[type=date],
    body.woocommerce-checkout select,
    body.woocommerce-checkout textarea {
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    height: 60px;
    border: 2px solid rgba(129,129,129,.2);
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    vertical-align: middle;
    font-size: 14px;
    transition: border-color .5s ease;
    }

    Custom CSS for desktop

    .product-template-default .price .amount {
    font-size: 42px;
    }
    .archive .price .amount{
    font-size: 40px;
    }
    .single_add_to_cart_button {
    background-color: #3cca94;
    min-width:400px;
    height: 70px
    }

    Custom CSS for mobile

    .product-template-default .price .amount {
    font-size: 24px;
    }
    .archive .price .amount{
    font-size: 18px;
    }
    .site-content {
    margin-top: -32px;

    I copied in this website: https://test.udigit.it/prodotto/amaro-sibona/

    But how u can see i dont see the big add to cart button on the mobile version and the sticky button is also smaller than the quantity selector. How can i fix it? Is there any mistake in the code? Cause in the other website is working fine

    #302286

    Hello,

    Remove the CSS and check the items, if you want to change something rewrite the CSS from scratch.

    If you have any questions or need any help, please feel free to contact us.

    Best Regards

    #302651

    Riccardo95
    Participant

    Hi Guys,

    What do you mean? We develop that code togheter and is working fine in another website. Why is not on this one? I can’t find any mistake in the code.

    1) In the first screenshot the button is fine, desktop version
    2) Second screenshot: On the mobile view the quantity is big and the add to cart button is smaller and red.
    3) In the third one the sticky button has the same problems.

    How can i fix it?

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

    Hello,

    Try to add all the styles to the Theme Settings > Custom CSS > General, so that the styles would apply on all the devices.

    Best Regards

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