Home › Forums › All Other Themes › qtranslatex languages horizontally
- This topic has 10 replies, 3 voices, and was last updated 7 years, 7 months ago by Sonnal S Sinha.
-
AuthorPosts
-
July 15, 2016 at 8:15 am #40520
Hi everyone. My theme is SKT Charity Pro and, as per instructions, I use qTranslateX to make my site multilingual. On the blog side of the site, I want to know how I can put the list of languages horizontally in the widget, not vertically?
http://www.familiacornea.com/2/blog/
I appreciate your help.
July 15, 2016 at 12:53 pm #40561Hi Ovi,
Kindly go to Appereance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code there:
ul#qtranslate-3-chooser li { display:inline-block !important; background:none !important; border-bottom:none !important; padding:0 15px 0 0;}
Regards,
BradJuly 15, 2016 at 12:58 pm #40562You are a star. Thank you so much.
If I may ask just one more question. How can I only display the other language translation is available, not the current one. Example, if the page is open in RO, the flag to only show US. If it is in English, the flag to only show RO.
Thank you again!
July 15, 2016 at 1:34 pm #40568Kindly go to Appereance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code there:
ul#qtranslate-3-chooser li.lang-ro.active { display:none !important;}
Regards,
BradJuly 15, 2016 at 1:59 pm #40575Thank you, Brad, but the code only works one way. Once the other language is selected, both flags are shown again. Can I use something else instead of “lang-ro”?
July 15, 2016 at 2:19 pm #40577I think I figured it out, I just added the same code again, this time putting “lang-en.active” at the end and it works.
July 19, 2016 at 6:49 am #40833Okay great 🙂
September 3, 2016 at 1:21 pm #45455Hi,
Sorry to ask again, but that code stopped working now with WordPress 4.6. ul#qtranslate-3-chooser li.lang-ro.active { display:none !important;} doesn’t work anymore, both languages are shown all the time.
Check here: http://www.mission2malawi.com/ro/blog/ . The right widget, with the language flags. I want only the other language available to be shown.
Thank you.
September 7, 2016 at 8:01 am #45735I think you have already solved this.
Regards,
ShriSeptember 7, 2016 at 10:28 am #45792I just deleted the widget and put it back and it worked.
September 7, 2016 at 10:57 am #45794Great.
Regards,
Shri -
AuthorPosts
- The topic ‘qtranslatex languages horizontally’ is closed to new replies.