Support ForumDrop down menu alignment – Support Forum https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/feed/ Sat, 11 May 2024 07:03:47 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-429 <![CDATA[Drop down menu alignment]]> https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-429 Sat, 24 Aug 2013 09:19:41 +0000 IshYoBoy How to I align the drop down menu for the first word to sit underneath the above? Currently the drop down menus seem quite random?

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-430 <![CDATA[Reply To: Drop down menu alignment]]> https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-430 Sat, 24 Aug 2013 09:20:56 +0000 IshYoBoy We recommend changing the sub-navigation to a vertical align as you have many items and they would not fit horizontally on smaller screens.

To make the navigation vertical please open the file “wp-content\themes\creolio\assets\core\libs\js\plugins.js” and on line 31, change the following code:

csspos.css({
‘margin-left’: -1 * csspos.width() + jQuery(this).width(),
‘padding-top’: 10
});

To

csspos.css({
//’margin-left’: -1 * csspos.width() + $(this).width(), // Old inline displaying
‘margin-left’: -20, // Align menu to parent
‘padding-top’: 10
}).find(‘li’).css({
‘float’: ‘none’ // Make submenu items block – one under another one
});

Once done make sure to clear your browser’s cache memory as otherwise you might not see the new changes because of caching.

Please let us know if this helped.
Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-436 <![CDATA[Reply To: Drop down menu alignment]]> https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-436 Sat, 24 Aug 2013 09:47:41 +0000 IshYoBoy

side_side
I’ve changed the code as advised but this simply stops the drop down menu working at all? There’s no no arrow to show a drop down and on hover nothing appears.

Please make sure to use regular apostrophes:

https://gist.github.com/VlooMan/d5d43498b8af90332b47

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-462 <![CDATA[Reply To: Drop down menu alignment]]> https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-462 Tue, 27 Aug 2013 09:41:47 +0000 side_side Great thank you

]]>
https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-466 <![CDATA[Reply To: Drop down menu alignment]]> https://support.ishyoboy.com/forums/topic/drop-down-menu-alignment/#post-466 Tue, 27 Aug 2013 11:28:51 +0000 IshYoBoy Solved :)

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>