- Posts: 1
- Thank you received: 0
top menu
-
hunty
Inactive member - New Member
Less
More
10 years 10 months ago #37178
by hunty
Hi
I also would like to have a menu on 2 rows, as you can see, my menu is too long : agence-internet-nancy-epinal.fr/cabinet-medical/
I tried to modify the code as you said, but nothing happend :'(
So, in the file "responsive_menu.js", I have :
I also would like to have a menu on 2 rows, as you can see, my menu is too long : agence-internet-nancy-epinal.fr/cabinet-medical/
I tried to modify the code as you said, but nothing happend :'(
So, in the file "responsive_menu.js", I have :
Warning: Spoiler!
/*
Author: HotThemes
Author URL: www.hotjoomlatemplates.com
*/
function menutransform(){
var screenWidth = jQuery(window).width();
if( screenWidth < 980 ) {
jQuery(".tinynav").css("display","block");
jQuery("ul#menu-topmenu").css("display","none");
jQuery("ul#menu-topmenu").tinyNav({
active: 'current', // String: Set the "active" class
header: 'Navigation', // String: Specify text for "header" and show header instead of the active item
});
}else{
jQuery(".tinynav").css("display","none");
jQuery("ul#menu-topmenu").css("display","block");
}
}
jQuery(function(){
menutransform();
//jQuery(window).resize(menutransform);
jQuery(window).resize(function(){
jQuery(".tinynav").remove();
menutransform();
});
});
jQuery(document).ready(function(){
jQuery(jQuery('.menu.navv > LI')[3]).css('clear','both');
});
Author: HotThemes
Author URL: www.hotjoomlatemplates.com
*/
function menutransform(){
var screenWidth = jQuery(window).width();
if( screenWidth < 980 ) {
jQuery(".tinynav").css("display","block");
jQuery("ul#menu-topmenu").css("display","none");
jQuery("ul#menu-topmenu").tinyNav({
active: 'current', // String: Set the "active" class
header: 'Navigation', // String: Specify text for "header" and show header instead of the active item
});
}else{
jQuery(".tinynav").css("display","none");
jQuery("ul#menu-topmenu").css("display","block");
}
}
jQuery(function(){
menutransform();
//jQuery(window).resize(menutransform);
jQuery(window).resize(function(){
jQuery(".tinynav").remove();
menutransform();
});
});
jQuery(document).ready(function(){
jQuery(jQuery('.menu.navv > LI')[3]).css('clear','both');
});
The topic has been locked.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 10 months ago #37187
by ivan.milic
Replied by ivan.milic on topic top menu
In :
wp-content/themes/wp_hot_clinic/style.css
find this:
#menu-topmenu > li {
display: inline-block;
float: none;
}
remove float: none;
Also you posted question under joomla thread category, further threads open under WordPress categories.
wp-content/themes/wp_hot_clinic/style.css
find this:
#menu-topmenu > li {
display: inline-block;
float: none;
}
remove float: none;
Also you posted question under joomla thread category, further threads open under WordPress categories.
The topic has been locked.
Time to create page: 0.073 seconds