display:inline doesn't work
-
Hi,
I have a problem using Polylang. I want to show the flags in the language changer next to each other, and I have inserted the following code where I want it to be:
if(function_exists('pll_the_languages') && $side == 'right') ?> <ul style="float:left; margin-right: 5px; margin-top: 15px; display: inline;"> <?php pll_the_languages(array('show_flags'=>1,'show_names'=>0, 'hide_if_no_translation'=>1, )); ?></ul> <?php
However, the flags are showing up on top of each other, and I want them next to each other. I have seen suggestions that the plugin should add .lang-item to style.css, and display:inline should do the trick. However, the plugin has not added that part, and if I add it manually, it doesn’t affect the display whatsoever.
What should I do?
- The topic ‘display:inline doesn't work’ is closed to new replies.