Archived topic
Navigation - lightweight social icons
3 replies · Started by BarnaB on January 3, 2017
Hi Tom,
So here is the question of the day :) Found this tutorial and it works great, but how can i make sure the search icon is the last item in the row ? :)
Thank you
Hi there,
You would have to hide the default search item:
.main-navigation .search-item {
display: none;
}
Then add your own custom link in the menu with these settings:
Navigation Label/Link Text: <i class="fa fa-fw fa-search" aria-hidden="true"></i><span class="screen-reader-text">Search</span>
Custom Classes: search-item menu-item-float-right custom-search-item
Then add this CSS:
.main-navigation .search-item.custom-search-item {
display: block;
}
Then you can order it however you like :)
awesome ! Thank you :)
You're welcome :)