: Height of navigation bar in corpway : raamebdr August 17, 2014, 02:11:36 AM How can I change the height of navigation bar in corpway?
I have attached two pictures. Currently the menu looks like menubigheight.png I want it to look like menusmallheight.png : Re: Height of navigation bar in corpway : mikenicoll August 17, 2014, 08:02:49 PM Hello,
Please post a URL where this occurs. : Re: Height of navigation bar in corpway : raamebdr August 17, 2014, 08:20:42 PM Here's the link.
http://116.66.198.234:8008/ (http://116.66.198.234:8008/) I am just starting to test the vertex framework and The site is inside a LAN, so I have opened a port for you to test. : Re: Height of navigation bar in corpway : mikenicoll August 17, 2014, 08:37:39 PM Hello,
In the index.php file there is the following php statement: : <?php if ($s5_small_menu == "no") { ?> #s5_nav li { height:62px; } #s5_search_wrap { height:78px; } #s5_search_wrap input { margin-top:28px; } <?php } ?> What this does is detects your input settings from the Template Manager for "Show Subtext" and adjusts the menu size accordingly. If you were to remove this coding it would give you the same height for menu regardless of sub-text. Note that if you do not need sub-text and turn this off in the Template Manager it will show at a much smaller height without any other changes needed. From there you would modify the default height and padding values below to get the desired layout: : s5_flex_menu.css - line 141 #s5_nav li { display: block; float: left; height: 41px; list-style: none outside none; overflow: hidden; padding: 18px 18px 0 15px; position: relative; } : Re: Height of navigation bar in corpway : raamebdr August 17, 2014, 09:18:39 PM Thank you for support. It is just the way I want now.
I also had to play around with #s5_nav li:hover, #s5_nav li.mainMenuParentBtnFocused selector : Re: Height of navigation bar in corpway : mikenicoll August 17, 2014, 09:19:47 PM Awesome, glad you got it the way you wanted.
Let me know if you have any further questions! |