Title: Sub-menu alignment
Last modified: November 28, 2022

---

# Sub-menu alignment

 *  [aalawneh](https://wordpress.org/support/users/aalawneh/)
 * (@aalawneh)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/sub-menu-alignment-3/)
 * Dear Support,
 * i have Arabic website & would like to set the text alignment of sub menu from
   right to left. please advice ?
 * Regards
    Ahmad
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsub-menu-alignment-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Shahin](https://wordpress.org/support/users/skalanter/)
 * (@skalanter)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/sub-menu-alignment-3/#post-16239451)
 * Hello [@aalawneh](https://wordpress.org/support/users/aalawneh/),
 * Thank you for reaching out,
 * Please put the CSS below in Customizing > Custom CSS/JS > CSS Code:
 *     ```
       .dropdown-menu li .sub-menu li.menu-item {
           text-align: right !important;
       }
       ```
   
 * Please read this link for more information about the CSS/JS code on the customizer:
   [https://docs.oceanwp.org/article/354-add-custom-css-and-js-to-your-website](https://docs.oceanwp.org/article/354-add-custom-css-and-js-to-your-website).
 * **Note:** if you have any cache plugin or server cache(CDN / Browser Cache and
   Cookies and …), you need to clear its cache contents or disable them to see your
   changes. Also, don’t forget to click on the regenerate all assets file and data
   in Elementor > Tools.
 * I hope that helps.
    Best Regards
 *  Thread Starter [aalawneh](https://wordpress.org/support/users/aalawneh/)
 * (@aalawneh)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/sub-menu-alignment-3/#post-16239485)
 * Thanks a lot its working now
 * Regards
    Ahmad
 *  [Shahin](https://wordpress.org/support/users/skalanter/)
 * (@skalanter)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/sub-menu-alignment-3/#post-16241477)
 * You’re most welcome.
    I’m glad it is resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sub-menu alignment’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.5/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Shahin](https://wordpress.org/support/users/skalanter/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/sub-menu-alignment-3/#post-16241477)
 * Status: not resolved