How to change the padding of an element in css

This topic has 3 replies, 2 voices, and was last updated 2 years, 8 months ago ago by mariangio

  • Avatar: mariangio
    mariangio
    Participant
    March 12, 2022 at 13:40

    Hi.
    I have a page called quote request. You can see it from that product page, then click view quote.
    I would like to align the section country and state where there is padding by default and I don’t need it. I have tried this css code:
    .rfq_state_select.info_id{
    padding:0px !important;
    }
    .info_id{padding:0px !important;
    }

    But it doesn’t work. Could you please help me. Thanks!

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 12, 2022 at 14:23

    Hello,

    Try to use the next code:

    .rfq-shop-table_customer_info td:last-child,
    .rfq-shop-table_customer_info table td:last-child {
        padding: 0px !important;
    
    }
    .rfq-shop-table_customer_info select#rfq_billing_country, 
    .rfq-shop-table_customer_info .rfq-cart-message {
        width: 100%;
    }

    Regards

    Avatar: mariangio
    mariangio
    Participant
    March 12, 2022 at 23:46

    Thanks!

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘how to change the padding of an element in css’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.