[Resolved] RTL language and logo position

Home Forums Support [Resolved] RTL language and logo position

Home Forums Support RTL language and logo position

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1260944
    Shlomo

    I’ve run into what looks like a bug using GP Premium for a RTL website.

    I am developing two sites for a client. One in English and one in Hebrew.

    The client wants the logo on the left side of the Header for both websites.

    I had no trouble doing that for the English site.

    However, for the Hebrew site, in the Customizer, under Header Alignment, the logo remained on the right side whether I chose Left or Right. Choosing Center did move the logo to the center.

    I was able to solve the logo placement problem by using these settings:
    Inner Header Width: Contained
    Header Alignment: Center
    Padding (left and right): 0

    I then added this Custom CSS:
    .header-aligned-center .site-header {
    text-align: left;
    }

    I saw in the forum that there was a similar problem with RTL and navigation position. The solution you suggested to that problem is what lead me to the solution shown above.

    #1261562
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This is an issue we introduced when using CSS for RTL instead of using our own options. It’s difficult to go back on now in a backward-compatible way, unfortunately.

    I’ll take another look at it in 2.5 – maybe I can come up with a solution.

    Thanks for sharing what you did with us ๐Ÿ™‚

    #1261606
    Shlomo

    Thanks for letting me know. I hope you can find a more elegant solution than what I did!

    #1262122
    Tom
    Lead Developer
    Lead Developer

    I’ll do my best! ๐Ÿ™‚

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