Skip Navigation
WordPress Help Centre

How to change widget's direction?

June 04, 2021 . 1 min read

Every widget has an additional class for RTL and LTR directions that is appended to abh-wrapper class. You can add your custom style to these classes to target specific direction:

.abh-wrap-ltr{
  /* your modifications */
}
.abh-wrap-rtl{
  /* your modifications */
}

for example, if your website language is Arabic, you can make the text right aligned:

.abh-wrap-rtl{
  text-align: right;
  direction: rtl;
}
© 2021 by WordPress Help Centre. All rights reserved.