add an "menu gk_normal" inside a widget top Bar

Dedicated support forum for CloudHost elegant bosting WordPress theme which is perfect for your business and hosting websites. Here you can ask questions and discuss with other theme users.
GK User
Fri Jan 31, 2014 12:41 am
Hi everyone,
In my site, I want to make a dropdown language menu inside top bar.

so I try to edit the TEXT widget with this code, without any result....

starting code:
Code: Select all
<div class="custom">
<span class="gkinfo"><i class="icon-phone"></i>
 +39 031 71 31 07
</span>
<span class="gkinfo"><i class="icon-custum"><img src="/wp-content/uploads/2014/01/it.png" width="20"></i> <a href="#">
Italiano
</a></span>   
</div>

now result:
Image

my new code:
Code: Select all
<div class="custom">
<span class="gkinfo"><i class="icon-phone"></i>
 +39 031 71 31 07
</span>
<span class="gkinfo">
<ul class="menu gk_normal">
<i class="icon-custum"><img src="/wp-content/uploads/2014/01/it.png" width="20"></i> <i><a href="#">
Italiano
</a>
</i>
<ul>
            <li class="icon-custum"><img src="/wp-content/uploads/2014/01/en.png" width="20"><a href="#">English</a></li>
            </ul>
</ul></span>   
</div>


my expexted result:
Image

there is same way to do this? (something gk class??)
thanks in advance
User avatar
Fresh Boarder

GK User
Fri Jan 31, 2014 8:15 am
Hi,

It's not so simple, which multilangual plugin are you using? because e.g. WPML plugin has already built-in drop down language switcher.

If you are using another plugin, I think the easiest way is to create a new menu posiiton (and create another menu in appearance -> menus) and using pseudoelements :before you can add flags to your menu items.

please check this article about menus.
http://www.gavick.com/documentation/wor ... -settings/
User avatar
Moderator

GK User
Fri Jan 31, 2014 12:25 pm
Hi !
I don't use any component, because I want make multi site with multi domain.
.com english
.it italian
.pl polish
so this menu in only a simple redirection to a different URL.

I read your article, but I don't see how create a new menu position inside Top bar,
There is same way to insert this simple menu (after I ll style with override css ) inside the widget?
thanks in advance !
User avatar
Fresh Boarder

GK User
Sat Feb 01, 2014 1:09 pm
Maybe try to use simple widget to create dropdown menu in Top bar area (will be much easier).

e.g. this one:
http://wordpress.org/plugins/dropdown-menu-widget/
User avatar
Moderator

GK User
Sat Feb 01, 2014 2:56 pm
Resolved with a custum code :)
thanks !!!!
User avatar
Fresh Boarder


cron