Summer Sale Alert! Save 20% on WP Theme Bundle: 240+ WP Themes & 5 Plugins. Use Code "SIZZLE20"
Summer Splash Sale: Dive into 25% Off On All Our Premium WordPress Themes! Use Coupon Code "SPLASH25" at Checkout.

vw startup pro rtl text should be right aligned

Home Forums VW Theme VW STARTUP PRO THEME vw startup pro rtl text should be right aligned

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #47271
    Isam Ishaq
    Participant

    When using rtl languages such as Arabic, the theme correctly switches the direction to RTL. However, in RTL mode the default text align should be right (not left). I fixed this by adding “text-align: right;” to the body attribute in rtl.css. Now most of the texts are correctly shown at the right side. One problem remains in H1 (maybe other headers as well). H1 has an inline style of “text-align: left;” that over-rides the setting in rtl.css. How can this be fixed so that H1 is also shown right aligned?

    #47284
    developer vwtheme
    Participant

    Hi,

    Can you please share your site URL it will help us to provide you a better solution.

    Many Thanks

    #47289
    Isam Ishaq
    Participant
    #47296
    Isam Ishaq
    Participant

    The site URL is: https://siam-law.com/

    #47313
    developer vwtheme
    Participant

    Hi,

    Kindly follow the steps below to align h1 tag heading to right.

    Go to Dashboard >> Appearance >> Customize >> Additional CSS >> Paste the given CSS on it >> Publish.

    .main_title h1{
    text-align: right !important;
    }

    Many Thanks

    #47320
    Isam Ishaq
    Participant

    Hi,

    Thank you. This solution works when the site has only one language. However, when the site has English in addition to Arabic, the English h1 will also be right sided now. How can this be applied to RTL languages only?

    Best Regards

    #47348
    developer vwtheme
    Participant

    Hi,

    If you want we can review the issue, make a user for us assign administrator role, and send us the username and password along with the URL on [email protected]
    Many Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.