Jump to content

Move form checkboxes to right of text (for Arabic/r-to-l reading)

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Is it possible to move the actual checkbox (for a form answer option) so it is to the right of the text when the text is right-aligned on the page?

I am trying to move the checkboxes so they appear on the right, with the Arabic text running from right to left beside them. See example screenshot of desired movement below.

Untitled.png

  • Replies 6
  • Views 766
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...
  • Solution
Posted
On 11/28/2022 at 2:26 PM, lauracedrone said:

Pardon my very slow reply!

The page is here. Thank you.

Add to Design > Custom CSS

div#block-27802f0d25d5ba1991d0 label {
    display: flex;
    justify-content: flex-start;
    flex-direction: row-reverse;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

Thank you so much - that worked perfectly.

Can I ask for two small follow up items:
1. How to get the questions to move back to the right? I am not sure what happened but they were right-aligned and now they are left-aligned again.
2. Is it possible to have a little space/buffer between the checkboxes and the words?

Thank you so much.

Posted
On 12/4/2022 at 5:21 PM, lauracedrone said:

Thank you so much - that worked perfectly.

Can I ask for two small follow up items:
1. How to get the questions to move back to the right? I am not sure what happened but they were right-aligned and now they are left-aligned again.
2. Is it possible to have a little space/buffer between the checkboxes and the words?

Thank you so much.

Use this new code

div#block-27802f0d25d5ba1991d0 .checkbox label {
    display: flex;
    justify-content: flex-start;
    flex-direction: row-reverse;
}
div#block-27802f0d25d5ba1991d0 .checkbox input {
    margin-left: 10px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

Thank you, this worked perfectly. Thank you for your help!

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.