Okay
  Public Ticket #2940043
How to add a space
Closed

Comments

  •  118
    Tuina_Simo started the conversation

    Hi Barry,

    I would like to add a space before '80 €' in the 3rd line 'Massage Tuina - Séance de suivi' of the Tarifs page.

    Could you please let me know how to do that?

    Thanks and regards,
    Simo

  •  118
    Tuina_Simo replied

    On the screenshot attached, I put the line on a green rectangle and the '80 €' on an orange one.

  •  1,710
    Barry replied

    Hi Simo,

    The only way to do this is by adding an extra HTML tag to the HTML table and some custom CSS.

    This is the edited table:

    <table class="custom-table">
        <thead>
            <tr>
                <td width="650">Médecine Chinoise</td>
                <td width="200">Durée</td>
                <td width="250">Tarif*</td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Massage Tuina - 1ère séance</td>
                <td>1h30</td>
                <td>100 €</td>
            </tr>
            <tr>
                <td>Massage Tuina - Séance de suivi</td>
                <td>1h15</td>
                <td><span class="space"></span>80 €</td>
            </tr>
        </tbody>
    </table>
    

    You can see I have added a "<span class="space"></span>" before the 80 €

    And then you can add the following CSS to Appearance -> Customize -> Additional CSS:

    .space {
        margin-left: 7px;
    }
    

    Hope this helps.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  118
    Tuina_Simo replied

    Thanks Barry,

    It works perfectly, please  close this ticket.

    Simo

  •  1,710
    Barry replied

    You're welcome Simosmile.png

    Ticket is closed on your request. Feel free to open a new one if you have any questions.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes