- This topic has 11 replies, 3 voices, and was last updated 7 years, 2 months ago by Tom.
-
AuthorPosts
-
November 28, 2016 at 3:06 am #248599Marga
Hello,
I’m using Max Mega Menu and the search tool in the main navigation seems to be out and when is clicked the search box can’t not seen. Is there any way to have a fix search box in the main menu or to have the search box with the word search inside?
Another question is about the sticky navigation. When it’s on the small logo appears above the menu and the navigation centered.
Maybe there is some kind os conflict with Max Mega Menu, is that possible? I’m using this Mega Menu because I need to display the menu in columns with icons.
Many thanks for your help!
November 28, 2016 at 9:26 am #248789TomLead DeveloperLead DeveloperHi there,
Any chance you can link me to your site so I can see?
Let me know π
November 28, 2016 at 9:30 am #248793MargaNovember 28, 2016 at 9:49 am #248816TomLead DeveloperLead DeveloperThe sticky navigation issue can be fixed with this:
.navigation-clone div#mega-menu-wrap-primary { float: right; clear: none; }
The navigation search icon can be adjusted like this:
#mega-menu-wrap-primary .search-item a { line-height: 60px; }
The text when you type isn’t viewable because you have the background color and text color of the menu items set to white in “Customize > Colors > Primary Navigation”. If you set the text to black you should be able to see it.
Hope this helps π
November 28, 2016 at 10:17 am #248827MargaThank you for your reply Tom!
I added these lines in the style.css file, but I can’t see any difference π
And about the primary navigation I have set black (also I have it black in the Max Mega Menu settings)
What am I doing wrong?
November 28, 2016 at 10:27 am #248839TomLead DeveloperLead DeveloperMake sure you’re adding CSS like this: https://generatepress.com/knowledgebase/adding-css/
As for the navigation search, I can now see the text while I type π
November 28, 2016 at 12:51 pm #248921MargaAlright, now It works!! π
About the navigation search, is there any way to show the word “Search” inside the box when it is clicked. Although you write automatically it’s a bit confusing if you can’t see the search gap.
Thanks for your help!
November 28, 2016 at 7:51 pm #249069TomLead DeveloperLead DeveloperIn order to add a placeholder to the navigation, you would have to overwrite the function: https://generatepress.com/forums/topic/enter-predefined-text-in-searchbox/#post-151358
November 29, 2016 at 3:09 am #249167MargaMany thanks Tom! I followed the instructions and with de Code Snippets plugin works! π
November 29, 2016 at 8:49 am #249242TomLead DeveloperLead DeveloperYou’re welcome π
January 25, 2017 at 8:34 am #268436Diego FernandoHello Tom
about this post, How can I change the color of search icon?
Example:
http://subefotos.com/ver/?3ce073d4e8f003d13cff0b7cb6739402o.pngJanuary 25, 2017 at 10:08 am #268523TomLead DeveloperLead DeveloperAbsolutely:
.main-navigation .main-nav ul li.search-item a { color: #FFFFFF; }
-
AuthorPosts
- You must be logged in to reply to this topic.