Site logo

[Resolved] Modify wordpress table

Home Forums Support [Resolved] Modify wordpress table

Home Forums Support Modify wordpress table

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

    Hello guys.

    I’m trying to modify a table via CSS.

    I know it is generated by the Woocommerce plugin, but it is a standard WordPress table (<table>, <th>, and <td>).

    What I want to do is increase this right side, proportionately decreasing the left. In this way, the lines where the freight is described will no longer be broken: https://formuladiecast.com.br/wp-content/uploads/2022/11/tablet.png

    Is there any solution? Or just a miracle?

    I send data for private access, if necessary…

    #2432207
    Fernando
    Customer Support

    Hi Leonardo,

    There should be a solution. Can you try adding this through Appearance > Customize > Additional CSS?:

    .woocommerce-checkout div#order_review tfoot .cart-subtotal th {
        width: 30%;
    }

    Let us know how it goes!

    #2434020
    Leonardo

    My goal is to be as good as you are.

    I even managed to do that, but it was changing on the “My cart” page too. And at that table I wouldn’t want that to change.

    Thanks!

    #2438001
    Fernando
    Customer Support

    I see. I usually look at the <body> tag’s classes so I can add relatively unique classes so my code is limited to a page.

    Example: https://share.getcloudapp.com/mXubnB9O

    You’re welcome Leonardo!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.