• Resolved Susan Braiden

    (@sbraiden)


    Hello again ??

    Is there a way to add the search widget to the header section?

    Is it possible to do this with a bit of css code? Or am I needing to invoke this with a child theme header.php file?

    Thanks so very much for any advice you can offer on this.

    Keeping a warm thought,
    Sue.

    • This topic was modified 7 years, 9 months ago by Susan Braiden.
Viewing 3 replies - 1 through 3 (of 3 total)
  • hi.. Susan Braiden

    firstly create a child theme and then copy the header.php file from the parent theme.
    and place this code where you see this code in line no. 36

    <p><?php bloginfo( 'description' ); ?></p>
    					</div>
    				</div>
    				<?php if($wl_theme_options['header_social_media_in_enabled']=='1') { ?>
    				<div class="col-md-6 col-sm-12">

    replace above code with the below code.

    <p><?php bloginfo( 'description' ); ?></p>
    					</div>
    				</div>
    				<div class="search">
    				 <?php get_search_form(); ?>
    				 </div>
    				<?php if($wl_theme_options['header_social_media_in_enabled']=='1') { ?>
    				<div class="col-md-6 col-sm-12">

    and save the file.

    now add the css of search box in style.css of the child theme.

    .search{
    	float:right !important;
    	margin-right:200px !important;
    }

    and save the file.

    Thread Starter Susan Braiden

    (@sbraiden)

    Thank you so very much for both a quick reply, and for such detailed information!

    I need to play with the positioning a bit, but this did the trick.

    I’ll be upgrading to the Pro version of your theme. I want to support you with my dollars. Your service is wonderful. Thank you.

    Susan.

    Your most welcome Susan and thanks for appreciating us.

    Have a good Day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add search to header?’ is closed to new replies.