Aligning lists to right by default
-
Hello,
I noticed that after the latest theme update, a left/center/right alignment option has been added to the list element.
Since our website is in Hebrew which is a RTL language and the option alignment option didn’t exist before, all of the lists on the website are aligned incorrectly. There are dozens of lists scattered around the site and I can’t fix everything myself because I don’t even remember where they are.
Is there a way to align all of the lists to the right by default?
Thanks,
Tom
Hello,
Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.
.website-wrapper .wd-list.wd-justify-left {
justify-content: flex-start;
}
.website-wrapper .wd-list.wd-justify-right {
justify-content: flex-end;
}
Kind Regards
Thanks as always for your prompt reply, Artem. The code seems to have done the trick on our staging website. I will let you know if I require further assistance on this subject.
Sure, let me know if you have any further questions.