- This topic has 21 replies, 2 voices, and was last updated 5 years, 6 months ago by
Danny.
-
AuthorPosts
-
November 11, 2020 at 4:24 pm #12299
Hello Danny or others, I need to have a search position next to the off canvas menu. Do you now how to get it there? See attached image. Thank you very much in advance.
November 11, 2020 at 4:25 pm #12300November 12, 2020 at 9:15 am #12302It is the nav bar, not the header position I assume.
November 12, 2020 at 1:57 pm #12303Hope you can help me. Thank you so much. (third website and license with this template, it is very very nice). Best regards.
-
This reply was modified 6 years ago by
vteb.
November 12, 2020 at 4:40 pm #12306Danny
SupporterHi there,
Thanks for using our theme for your projects! It’s very appreciated!
To add a search function in the navbar of the offcanvas header layout, please open up the layout-offcanvas.php file in themes/wanium/templates/header folder, and replace it with the content below:
<?php $logos = wanium_get_logo(); $header_first = get_option('wanium_header_first', esc_html__( 'We create elegant websites', 'wanium' ) ); $header_second = get_option('wanium_header_second', esc_html__( '(012) 1006 2310', 'wanium' ) ); ?> <div class="nav-container vertical-menu"> <nav class="absolute transparent"> <div class="nav-bar"> <div class="module left"> <a href="<?php echo esc_url(home_url('/')); ?>"> <?php if( $logos['logo_text'] && 'text' == $logos['site_logo'] ) : ?> <h1 class="logo"><?php echo esc_attr($logos['logo_text']); ?></h1> <?php else: ?> <img class="logo logo-light" alt="<?php echo esc_attr(get_bloginfo('title')); ?>" src="<?php echo esc_url($logos['logo_light']); ?>" /> <img class="logo logo-dark" alt="<?php echo esc_attr(get_bloginfo('title')); ?>" src="<?php echo esc_url($logos['logo']); ?>" /> <?php endif; ?> </a> </div> <div class="module widget-wrap offcanvas-toggle right"> <!-- <i class="ti-menu"></i> --> <div class="menu-line is-inactive"> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> </div> </div> <?php if( $header_first ) : ?> <div class="module right"> <span class="sub"><?php echo wp_kses($header_first, wanium_allowed_tags()); ?></span> </div> <?php endif; ?> <?php if( (!isset($post->ID) || (isset($post->ID) && !get_post_meta( $post->ID, '_tlg_menu_hide_search', 1 ))) && 'yes' == get_option( 'wanium_header_search', 'yes' ) ) { echo '<div class="module right">'; get_template_part( 'templates/header/inc', 'search' ); echo '</div>'; } ?> </div> <div class="offcanvas-container text-center"> <div class="close-nav"><a href="#"> <!-- <i class="ti-close"></i> --> <div class="menu-line is-active"> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> <span class="menu--line"><span></span></span> </div> </a></div> <div class="vertical-alignment-no text-center mt120"> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'depth' => 3, 'container' => false, 'container_class' => false, 'menu_class' => 'mb40 mb-xs-24 offcanvas-menu', 'fallback_cb' => 'Wanium_Nav_Walker::fallback', 'walker' => new Wanium_Nav_Walker() ) ); ?> </div> <div class="vertical-bottom-no bg-white above pt24 pb96"> <?php if ( 'yes' == get_option( 'wanium_enable_copyright', 'yes' ) ) : ?> <div class="heading-font s-text"><?php echo wpautop(wp_kses(get_option( 'wanium_footer_copyright', esc_html__( 'Modify this text in: Appearance > Customize > Footer', 'wanium' ) ), wanium_allowed_tags())); ?></div> <?php endif; ?> <ul class="list-inline social-list"><?php echo wanium_header_social_icons(); ?></ul> </div> </div> </nav> </div>You may want to use child-theme so that your changes won’t be lost on theme updates.
Hope this helps,
DannyNovember 12, 2020 at 6:56 pm #12308Thank you so much. That worked like a charm! Buying a new license next week for a new project 😉
November 12, 2020 at 7:05 pm #12309Sorry, the mobile version gets disrupted when using this shop code for the header. Is there a workaround for that?
November 12, 2020 at 7:07 pm #12310This reply has been marked as private.November 13, 2020 at 10:35 am #12316Danny
SupporterHi there,
Thanks for your information!
I couldn’t see your screenshot, so please share us your site URL and the admin account of your site via private reply below or via the contact form at https://themeforest.net/user/themelogi so we can investigate your case and help you out. Any screenshots would be welcomed! (you could upload your images into https://imgbb.com/ and share the link in there).
Looking forward to your response!
Best regards,
DannyNovember 13, 2020 at 1:22 pm #12324There is an issue with the ticket system.
November 13, 2020 at 4:33 pm #12326Danny
SupporterHi there,
I see that you’ve sent us an email via https://themeforest.net/user/themelogi
I’m checking it and will reply you asap.
Best regards,
DannyApril 8, 2021 at 1:37 pm #12857This reply has been marked as private.April 9, 2021 at 12:01 pm #12859This reply has been marked as private.April 9, 2021 at 2:19 pm #12861This reply has been marked as private.April 9, 2021 at 2:31 pm #12862This reply has been marked as private.April 11, 2021 at 3:59 pm #12863Danny
SupporterHi there,
Thanks for writing in!
For your information, the theme comes with 2 theme options (“Appearances > Customize” & “Page options at bottom of the page/post”)
It’s very simple indeed, just 2 points that you need to know to use our Theme Options.
1. There are global options that affect you entire site in “Appearances > Customize”.
2. There are individual options that affect only that page or post in “Page options at bottom of the page/post” (Screenshot: https://i.ibb.co/zS2J3j4/po.png)
If you want to use global options (1), please set those options as “default” in individual options (2).
So incase you see some pages are using difference header layout, please go to that page editor, scroll to bottom, and set the Header Layout option into “default layout” in order to use the global header setting in “Appearances > Customize”.
Hope this helps,
DannyApril 11, 2021 at 4:20 pm #12866This reply has been marked as private.April 12, 2021 at 2:14 pm #12867This reply has been marked as private.April 12, 2021 at 2:14 pm #12868This reply has been marked as private.April 14, 2021 at 2:11 pm #12872This reply has been marked as private.April 23, 2021 at 7:21 am #12885Danny
SupporterHi there,
I’ve replied you via email, please follow it in there.
Best regards,
Danny -
This reply was modified 6 years ago by
-
AuthorPosts
- You must be logged in to reply to this topic.

