Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3458974
HTML code for a table
Closed

Comments

  • Morgane Charlier started the conversation

    Hello, 

    I would like to be able to have less margin between the text and the line of the table. Here is the style code I have but when I modify the margin, nothing change. Do I need to modify or add something ?

        <style>
            table {
                width: 100%;
                border-collapse: collapse;
            }
            td {
                padding: 3px; 
                border: 1px solid #000;
            }
            tr.marge-ligne {
                margin: 5px; 
            }
        </style>

  •  2,610
    PenciDesign replied

    Hi,

    Please navigate to Appearance → Customize → Custom CSS, and then insert the following custom CSS code:

    .post-entry td, .post-entry th {
        padding: 3px;
    }

    Change 3px to the spacing size you want to show.

    Regards,
    PenciDesign.



  • Morgane Charlier replied

    Perfect, it's working like I wanted. Thanks a lot !