Posts title disables translate buttons.
-
Hi,
In my twenty eleven child theme I’ve placed a couple of buttons just under the menu bar, on the right.
In style.css I’ve added this code:
.lang-switch {float:right;}
.lang-item {display: inline; list-style: none;}At the very bottom of the header php I’ve inserted this code:
<ul class=”lang-switch”><?php
pll_the_languages(array(‘show_flags’=>1,’show_names’=>0));
?>Everything works fine in static pages.
In “posts” page (both the “main”, the one with the posts in chronological order and the single post), the title is at the same distance from the menu bar as the language buttons, the buttons appear as usual but .. don’t work at all!
Please help!!!
Many thanks in advance!
A.
The topic ‘Posts title disables translate buttons.’ is closed to new replies.