Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #701101

    Hey Kriesi Team,

    > Our website has two languages: English and Persian (Farsi) – (as we are using WPML)
    > Only in Persian version in Mobile mode, the top bar languages are not aligned in center. (please consider that this issue is happening in all the Persian pages except homepage):
    .

    Kind regards,
    Sadegh

    #701867

    Hey Sadegh,

    I added following code to bottom of Style.css file of your child theme

    @media only screen and (max-width: 767px) {
    .rtl #header_meta .sub_menu {
        right: 0;
    }}

    Please review your website now

    Best regards,
    Yigit

    #701953

    Hey dear Yigit,

    Thanks a lot for your code.
    However, although it solved the problem in RTL version in Mobile mode, but

    1> in Tablet mode there is a gap appeared now in RTL pages (it wasn’t there before the code):

    .

    2> in RTL Home page, the texts gets backed again to their non-aligned positions in Mobile mode (it was right before the code):
    .

    Kind regards :)
    Sadegh

    #703321

    Hi,

    I added following code to bottom of Style.css file as well

    @media only screen and (max-width: 767px) {
    .rtl.home #header_meta .sub_menu {
        right: 30%;
    }}

    please review your website now

    Best regards,
    Yigit

    #703329

    Hey dear Yigit,

    The problem with the white gap is still not solved:

    .

    Kind regards,
    Sadegh

    #703337

    Hi!

    Following code is causing the issue

    @media only screen and (max-width: 989px) {
    #header_meta {
        margin-bottom: 30px;
    }}

    Why did you add it? If that is only RTL issue, please try adding following code to Quick CSS

    @media only screen and (max-width: 989px) {
    .rtl #header_meta {
        margin-bottom: 0;
    }}

    Regards,
    Yigit

    #703342

    Hey Yigit,
    I don’t know actually why this code is there, maybe to solve some issues with the header.
    However, thank you very much for the solution, it all worked great :)

    Cheers,
    Sadegh

    (you may now close the thread please)

    #703344

    Hey!

    You are welcome, glad we could help :)

    Best regards,
    Yigit

    #703347

    :)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘top bar text alignment in mobile mode in Persian version’ is closed to new replies.