-
Author
-
October 10, 2016 at 18:58 #138875
tberkow123
ParticipantHello, is there a way to make the side menu button look like the attached photo? Basically add ” | MORE” before the the fa-bars? In the attachment “BLOG” is the last item in the regular nav menu.
Attachments:
You must be logged in to view attached files.October 10, 2016 at 20:15 #138903Radu
ModeratorHi,
So practically you want to have more button before the icon ? If yes use the next php function that you will have to add wp-content/themes/kleo-child/functions.php
COPY CODEif( ! function_exists( 'kleo_side_menu_button' ) ) { /** * Add side button to menu * @param string $items * @param object $args * @return string */ function kleo_side_menu_button ( $items, $args ) { if ($args->theme_location == 'primary') { $items .= '<li id="nav-menu-item-side" class="menu-item">' . '<a href="#" class="open-sidebar" onclick="javascript:return false;">' . 'MORE <i class="icon-menu"></i>' . '</a>' . '</li>'; } return $items; } }
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 10, 2016 at 20:49 #138929tberkow123
ParticipantThis seemed to have made it not clickable and the icon is gone. I also wanted the space and line before the MORE that was shown in the screen shot. Is that possible?
October 11, 2016 at 17:54 #139076Radu
ModeratorMake sure to paste the code correctly on my install it works
Copy and paste again the code from here : http://pastebin.com/raw/XnD2bpUb
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 12, 2016 at 18:02 #139287Radu
ModeratorGreat
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 19, 2016 at 16:45 #140295tberkow123
ParticipantIt seems after making this alteration, my navigation moved under my logo at 1200px. Is there a way to make the mobil menu appear at 1200? Or a way to fix it so it doesnt break to the next line?
Attachments:
You must be logged in to view attached files.October 19, 2016 at 21:07 #140362Radu
ModeratorThat happens because there it’s no enough space try to set font size little smaller..
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.