[Resolved] Changing top bar widgets alignment

Home Forums Support [Resolved] Changing top bar widgets alignment

Home Forums Support Changing top bar widgets alignment

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #405468
    Ohad

    Hello,

    I wonder if there is an option,
    To change only the alignment of the top bar widgets according to the chosen language (via the Polylang plugin)?

    For example:

    Hebrew: RTL – Date | Change language menu
    English: LTR – Change language menu | Date

    Maybe with a Code snippets?

    Thanks,
    Ohad

    #405635
    Leo
    Staff
    Customer Support

    Hi there,

    Can you link me to the page? Thanks!

    #405700
    Ohad

    Hey Leo,

    This is the page in ENG
    And in this is in HEB

    #405905
    Leo
    Staff
    Customer Support

    Ok so set it to how you want it in English, then add this CSS:

    .rtl #hebdate_widget-3 {
        float: right;
    }
    .rtl #polylang-3 {
        float: left;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #406196
    Ohad

    Thank Leo, that did the trick 🙂

    Just Wondering,
    is there any way to set this CSS also to the ENG language?

    #406350
    Leo
    Staff
    Customer Support

    Not sure what you mean? If you want the two version with the same CSS then you shouldn’t need any CSS at all?

    Let me know.

    #406418
    Ohad

    thanks Leo, but i’ve already figured out

    Thanks For the help

    #406448
    Leo
    Staff
    Customer Support

    No problem!

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