- This topic has 7 replies, 2 voices, and was last updated 8 years, 1 month ago by Andrew Misplon.
- AuthorPosts
- August 11, 2016 at 10:24 am #4408
shihcyParticipantHello, I have two questions:
1. How to make the back ground of menu bar (white area) slimer?
2. How to make a menu not linking to a page? Like “Page Templates” and “Blog” on demo theme.
I want this feature on my site.
Thank you~
August 11, 2016 at 7:24 pm #4411
Andrew MisplonKeymasterHi shihcy
Thanks for posting your question.
Parent Menu Item Not Linked
To create a top level menu item that is not linked, go toAppearance > Menus
and select your custom menu. Instead of inserting a Page, insert a Custom Link, you’ll find the Custom Link meta box in the left column. Insert the name of the link in the label field and in the URL field, insert a hash: #. Once the link has been added to your menu you can edit it and remove the hash. Use this custom link as your top level menu item.Header Height
There is a setting for header height atAppearance > Customize > Theme Design > Header
if you are using Ultra Premium. If not, Premium is available for as little as $5 once off.If you’d like to continue using Ultra Free you can install a plugin like Simple Custom CSS, go to Appearance > Custom CSS and edit the header height by inserting the following:
.site-header,.site-header .container,.site-header .site-branding-container,.main-navigation .menu-search { height: 112px; } @media (min-width: 1024px) { #main-slider.overlap { margin-top: -112px; } } .main-navigation div > ul > li > a,.main-navigation .menu-search .search-icon:before { height: 112px; line-height: 112px; } .main-navigation ul ul { top: 109px; }
Edit the values as required. The last value must be 3px less than the values above.
Hope that helps.
August 12, 2016 at 3:26 am #4416
shihcyParticipantHello Andrew
Thanks for your answers.1. Parent Menu Item Not Linked
The solution is cool, and it did work.2. Header Height
I successfully revised the height by your steps in Ultra Premium, however, it came out with another problem. When I shrink browser window or browse in mobile version, the icon of menu is not at proper position.
When I click the menu icon, the cross icon will be covered by menu.Thanks for providing alternative way for Ultra Free.
August 12, 2016 at 1:16 pm #4418
Andrew MisplonKeymasterThanks for your feedback. Would it be possible to send a link to your site so I can check the last problem? You can use the
Set as private reply
checkbox if you would like to keep your site private.August 12, 2016 at 4:02 pm #4419August 12, 2016 at 7:07 pm #4420
Andrew MisplonKeymasterThanks for the update. Sorry that the menu toggle button isn’t more dynamically positioned. Please, try the following added to Appearance > Custom CSS:
/* Mobile Menu Toggle */ .responsive-menu .menu-toggle { margin-top: 21px; }
August 14, 2016 at 5:42 pm #4427
shihcyParticipantWow cool, it is on the right position now.
Thank you very much. I appreciate your assistance.August 14, 2016 at 5:43 pm #4428
Andrew MisplonKeymasterAwesome, glad that did the trick 🙂
- AuthorPosts
You must be logged in to reply to this topic.