Hello,
The header type I have used is variant center and it shows the classic search form.
Is it possible to show the search form that it is used here http://8theme.com/demo/xstore/hipster/ and how?
Thank you in advance
Site URL: hidden Theme version: latest WooCommerce version: latestHello,
There is no such possibility, by default.
Feel free to ask if you have any other questions.
Regards
By default, there is no option to change the search to the icon for center header type, this request additional customization in files.
Copy center.php file from xstore/headers to child-theme/headers folder and do changes there + use css code to change styling of the search.
We can help you with base steps, provide us with temporary wp-admin and FTP access, please.
Regards
When you say base steps, you mean that after it will need extra steps that will need programming job? I’m asking you because I don’t have programming knowledge and without your help I will not manage it.
Btw, search works the way I want in top bar but because text color is set to white for top bar the titles and prices are white in white bg. Otherwise I would have been happy with that.
I believe that you must apply it to more headers or set up choices as it is better than the old fashioned search.
Anyway if you think that you can help me achieve it, please let me know to give you access.
P.S. I have created the child theme and copied the center.php What are the next steps?
If you prefer the search in top bar, please, set it via theme options and let us know. We will provide you custom css code.
In case, you want to have the search in header like on the example. Provide us with wp-admin and FTP access. We will do changes and then provide the explanation.
Regards
We are trying to connect to your server but can’t http://prntscr.com/k57zou Please check.
Regards
Hello,
Please check now. Some changes were done in center.php of your child theme.
Regards
Oh that is great! Thank you very much!
One thing I would like you to check though is that when search icon is clicked the login link on topbar moves right and overlaps social icons. Can that get fixed?
Thank you very much! It’s great to have the modern search!
Hello,
Please clear cache and check now.
Would you mind to rate our product: https://prnt.sc/d256m6
https://themeforest.net/downloads
That would be much appreciated 🙂
Regards
You’re welcome!
Thanks for using our theme 🙂
Regards
Hello,
Back in July you have helped me add search in header in the way I liked and you can see it here
With the new changes, if I choose variant center 3 which is closer to variant center I used to use I lose your code and get again the old fashioned search which I don’t like.
Can you please tell me what code shall I add to variant center 3 in order to have the desired result?
Below I’m pasting the code of variant center that you have created. Please tell me what to change in variant center3.
<?php
$ht = etheme_get_header_type();
$color = etheme_get_header_color();
$menu_class = ‘menu-align-‘ . etheme_get_option(‘menu_align’);
?>
<div class=”header-wrapper header-<?php echo esc_attr( $ht ); ?> header-color-<?php echo esc_attr( $color ); ?>”>
<?php get_template_part(‘headers/parts/top-bar’); ?>
<div class=”header-bg-block”>
<header class=”header main-header”>
<div class=”container”>
<div class=”container-wrapper”>
<div class=”header-left”>
</div>
<div class=”header-logo”><?php etheme_logo(); ?></div>
<?php if( etheme_get_option( ‘search_form’ ) == ‘header’ ) {
etheme_shop_navbar( ‘header’, array(), true );
}
else {
etheme_shop_navbar( ‘header’, array(‘search’), true );
} ?>
<div class=”navbar-toggle”>
<span class=”sr-only”><?php esc_html_e(‘Menu’, ‘xstore’); ?></span>
<span class=”icon-bar”></span>
<span class=”icon-bar”></span>
<span class=”icon-bar”></span>
</div>
</div>
</div>
</header>
<div class=”navigation-wrapper”>
<div class=”container”>
<div class=”menu-inner”>
<div class=”menu-wrapper <?php echo esc_attr($menu_class); ?>”>
<?php if ( has_nav_menu( ‘secondary’ ) && etheme_get_option( ‘secondary_menu’ ) ): ?>
<div class=”secondary-menu-wrapper”>
<div class=”secondary-title”>
<div class=”secondary-menu-toggle”>
<span class=”icon-bar”></span>
<span class=”icon-bar”></span>
<span class=”icon-bar”></span>
</div>
<?php etheme_option(‘all_departments_text’); ?>
</div>
<?php etheme_get_main_menu(‘secondary’); ?>
</div>
<?php endif ?>
<?php etheme_get_main_menu(); ?>
</div>
</div>
</div>
</div>
</div>
</div>
Hello,
Where are you trying to implement that search? Can you provide me the link, Dashboard and FTP access to check and help you?
Regards
On the same website, I just had to roll back to old version in order you can see what I want.
Do you want me to install the new version again so that you can fix it?
You may also give me the piece of code to add it as soon as I’m done.
Thank you
Hello,
We moved the search into the correct place and switched to the new version. Check now.
Regards
Hello,
You’re welcome!
Thanks for using our theme.
Regards
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
You may extend support period on ThemeForest and then update its status by clicking "Update" button in your Account area.
Purchase code | Expiration date |
---|---|
adb2cf8c-15ed-4d7a-a406-790658a81a6c | 03 Dec 2019 |