rtl.css
-
Hi everybody,
I’m trying to use this theme in an rtl language website.
I know how to write an rtl.css and yes I read the tutorial provided by WordPress. But the problem is this theme has too many css files and looks scary to me. So I decided instead of translating the entire css to an rtl version, I just retouch this and that wherever I see fit. This is what I came with so far :
rtl.css in my child theme :/* Theme Name: Quest Child Template: quest */ /*@media all and (min-width:768px) { .main-navigation .nav > li { float: right; } .main-navigation .nav > ul { float: left; } } /*@media all*/ .main-sidebar .sidebar-widget .widget-title { text-align: right; } /*@media all*/ .dropdown-menu { text-align: right; } /*@media all*/ #menu-item-search .fa-search { top: 2px; } /*@media all*/ form.search .fa-search { right: auto; left: 20px; top: 6px; } /*@media all*/ article.post-normal h1 { text-align: right; } /*@media all*/ .read-more { text-align: left; } /*@media all*/ .read-more a .fa-angle-double-right { left: auto; right: 108%; } /*@media all*/ .post-categories, .post-tags { text-align: left; } /*@media all*/ .fa-angle-double-right::before { content: "\f100"; } .fa-clock-o::before { content: "\f017?"; } .fa-comments::before { content: "\f086?"; } .post-categories::before, .post-tags::before { content: "\f15b?"; }
but still I have these problems that I cant figure out : (I’m new to css)
1- Main Menu is floating in the wrong direction :
Can’t find the correct selector to use “float: right” style for it.
2- In smaller devices, Objects from left to right goes vertical, instead now it should do right to left go vertical.
I can only imagine how much work the second problem would take to fix.The website address is : pgdarkness.ir
- The topic ‘rtl.css’ is closed to new replies.