Archived topic
Changing top bar widgets alignment
7 replies · Started by Ohad on October 18, 2017
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
Hi there,
Can you link me to the page? Thanks!
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/
Thank Leo, that did the trick :)
Just Wondering,
is there any way to set this CSS also to the ENG language?
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.
thanks Leo, but i've already figured out
Thanks For the help
No problem!