Detect and style RTL CSS font choices
Hi Brett,
I use the "Detect and style RTL" a lot. What is the easiest way to adjust my CSS so that when RTL is detected it uses a font X, but otherwise uses font Y.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 28 Jun, 2018 11:07 AM
Marked adds the classes mk-rtl and mk-ltr as appropriate. You can target those classes, but add the wrapper id to ensure specificity:
#wrapper .mk-rtl { font-family:... }
- Brett
2 Posted by tim.at.ast@gmai... on 28 Jun, 2018 12:37 PM
Works great.