how to disable
-
Hi guys
I’ve manage to display my language bar as a menu. Everything works fine, except one thing. My menu is like this: current page is shown as root and the other page, are available as tree options (sub-page).
What I’m trying to do is to have an inline menu, with the current language hidden, an link for the other available languages.
My code looks like this:
<div class=”lang”>
<ul id=”languages” class=”menu”>
<li id=”menu-item-151″ class=”qtranxs-lang-menu qtranxs-lang-menu-en menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-151″><img src=”https://localhost/1/wp-content/plugins/qtranslate-x/flags/gb.png” alt=”English” />
<ul class=”sub-menu”>
<li id=”menu-item-152″ class=”qtranxs-lang-menu-item qtranxs-lang-menu-item-de menu-item menu-item-type-custom menu-item-object-custom menu-item-152″><img src=”https://localhost/1/wp-content/plugins/qtranslate-x/flags/de.png” alt=”Deutsch” />
<li id=”menu-item-153″ class=”qtranxs-lang-menu-item qtranxs-lang-menu-item-ro menu-item menu-item-type-custom menu-item-object-custom menu-item-153″><img src=”https://localhost/1/wp-content/plugins/qtranslate-x/flags/ro.png” alt=”Roman?” /></div>
And I used as Custome links link https://#qtransLangSw?title=none&names=hidden¤t=hidden.
So I don’t know how to get rid of the <ul class=”sub-menu”>.
Any hint is appreciated.Thank you
- The topic ‘how to disable’ is closed to new replies.