WPML secondary language + Mobile responsiveness issue

This topic has 2 replies, 2 voices, and was last updated 6 years, 2 months ago ago by Rose Tyler

  • Avatar: adwa
    adwa
    Participant
    October 6, 2018 at 21:19

    Hi,

    I have an English website (Primary language) + Arabic translation (secondary language) using WPML

    on the PC browser everything looks great; but on mobile:
    1- The Primary language is perfect. nothing is needed here.
    2- The secondary language responsiveness is not working properly: it is difficult to describe it in words but the user can move the page beyond its limits (left side) showing menu items without even clicking the hamburger menu button

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 8, 2018 at 08:04

    Hello,

    Please edit legenda-child/functions.php
    before – http://prntscr.com/l3fsgy
    after – http://prntscr.com/l3fs9c

    if ( is_rtl() ) {
       wp_enqueue_style( 'parent-rtl-style', get_template_directory_uri() . '/rtl.css' );
    }
    

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.