Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Switch off search
New Landing › How can we help? › Themeforest Theme Support › Dante › Switch off search
- This topic has 14 replies, 2 voices, and was last updated 9 years by Mohammad – SUPPORT.
-
Posted in: Dante
-
April 9, 2015 at 9:35 pm #164121
Hi
I have tried everything to switch off the search tool in the site header but no matter what I try, it does not go away!
I have attached a screen shot for you just to clarify.
I’m pretty sure all the correct options are in place for it not to show.
Thanks
MikeAttachments:
You must be logged in to view attached files.April 10, 2015 at 6:07 am #164179Hi,
Please use this custom css code:-nav.search-nav{ display:none !important; }
Thanks
MohammadApril 10, 2015 at 9:30 am #164239Thanks for that, it worked perfectly. Can I raise another small point here or do I need to start another topic?
If you see the attached screen shot, The top bar navigation links spread over 2 lines, is there any way I could have them go all the way across the top so they are all on one line?
Thanks
MikeAttachments:
You must be logged in to view attached files.April 10, 2015 at 9:43 am #164245Hi,
Please paste this code at functions.php of child theme.function sf_top_header() { $options = get_option('sf_dante_options'); $header_left_text = __($options['header_left_text'], 'swiftframework'); $top_header_output = ''; $top_header_output .= '<div id="top-header">'; $top_header_output .= '<div class="container">'. "\n"; $top_header_output .= '<div class="th-left col-sm-3 clearfix">'. "\n"; $top_header_output .= do_shortcode($header_left_text); $top_header_output .= '</div> <!-- CLOSE .tb-left -->'. "\n"; $top_header_output .= '<div class="th-right col-sm-9 clearfix">'. "\n"; $top_header_output .= sf_aux_links('top-header-menu'); $top_header_output .= '</div> <!-- CLOSE .tb-right -->'. "\n"; $top_header_output .= '</div> <!-- CLOSE .container -->'. "\n"; $top_header_output .= '</div>'; return $top_header_output; }
Thanks
MohammadApril 10, 2015 at 9:55 am #164249Ah right – I don’t have the child them installed, I always just install the main them. Is this bad practice? Is there another way around it or can I install the child theme at this stage without affecting the site I am working on?
Thanks
MikeApril 10, 2015 at 10:09 am #164251Hi,
You can install child theme in this stage without affecting anything .
Thanks
MohammadApril 10, 2015 at 10:09 am #164252Hi,
You can install child theme in this stage without affecting anything .
Thanks
MohammadApril 10, 2015 at 10:10 am #164253Hi,
You can install child theme in this stage without affecting anything .
Thanks
MohammadApril 10, 2015 at 10:14 am #164255Sorry to be a pain, but do I just install the child theme but not activate it – if I make it active won’t it just override what I already have in place?
Thanks
MikeApril 10, 2015 at 10:20 am #164259Hi,
Only theme options settings will be restore to default.
Thanks
MohammadApril 10, 2015 at 10:25 am #164264So, just to clarify, do I install the child theme and then activate it and all the design elements I have created will still be in place?
I have done quite a bit of work on this and would hate to lose it and have to do it all again.
Is there no way of making the top bar links fit all across the top without installing the child them?
Mike
April 10, 2015 at 10:29 am #164267Hi,
Please open to edit sf-header.php file at /dante/includes/Find this code:- $top_header_output .= '<div class="th-left col-sm-3 clearfix">'. "\n"; $top_header_output .= do_shortcode($header_left_text); $top_header_output .= '</div> <!-- CLOSE .tb-left -->'. "\n"; $top_header_output .= '<div class="th-right col-sm-9 clearfix">'. "\n"; $top_header_output .= sf_aux_links('top-header-menu'); Replace with:- $top_header_output .= '<div class="th-left col-sm-6 clearfix">'. "\n"; $top_header_output .= do_shortcode($header_left_text); $top_header_output .= '</div> <!-- CLOSE .tb-left -->'. "\n"; $top_header_output .= '<div class="th-right col-sm-6 clearfix">'. "\n"; $top_header_output .= sf_aux_links('top-header-menu');
Thanks
MohammadApril 13, 2015 at 7:50 pm #164867Hi
as per the above at the start of the topic, you gave me some code to stop the search magnifier showing but it has now come back again somehow.
Can you help me with this please.
Thanks
MikeApril 13, 2015 at 10:16 pm #164883I have now resolved this issue so there is no need to reply.
Thanks
MikeApril 14, 2015 at 4:49 am #164910Hi,
I am glad that you managed to resolve the issue.
Thanks
Mohammad -
Posted in: Dante
You must be logged in and have valid license to reply to this topic.