How do I display text from right to left?

Comments

1 comment

  • Official comment
    Avatar
    Jane Vance

    Answer from ShortStack Support: There are two things you can do to display your campaign text so that it reads from right to left.

    Part 1: Update the Campaign HTML dir attribute to RTL:

    1. Open your Campaign Builder
    2. Click the gear icon to edit the Campaign Settings
    3. Click HTML
    4. Change the dropdown below "Page Language Direction" to rtl
    5. Click Save


    Part 2: Add a CSS Snippet to your CSS Editor with the following CSS:

    /* SNIPPET RTL Language */
    body, #wrapper, label, #wrapper p {
    direction: rtl;
    text-align: right;
    }
    .horizontal_container .field_block {
    float: right;
    clear: none;
    }
    .horizontal_container .field_block.first_child {
    margin-left: 3%;
    }
    /* END SNIPPET */

Please sign in to leave a comment.