Custom code disabling ability to customize

by DrNeedles
DrNeedles
Hi,

I have the Medicine theme (full version). I tried inserting custom code into the header where the search box appears at the top of the page view. Apparently this custom code effects the customize / element feature on the page view located at the top in the WP admin bar. I am unable to view the element drop down and turn objects on and off. Can you tell me where I should place my custom code to avoid affecting this customize feature?

See a section of my code below:
look for comment : My Code - Call to action - Tel - begin
---

<?php } else { ?>

<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>

<p class="site-description"><?php bloginfo( 'description' ); ?></p>

<?php } ?>

</div></div>

<?php } ?>

<?php /* My Code - Call to action - Tel - begin */?>

<?php /* NOTE - can't install this code until after I turn off the top search bar */?>

<?php /* load parent site / turn off search/slider/showroom then load child site */?>

<div class="hd-right lzblock">

<div class="cta-tel" style="font-family: Oswald, Arial, sans-serif;">Call Today <a href="tel:401-219-6446">401-219-6446</a></div>

</div>

<?php /* My Code - Call to action - Tel - end */?>

<?php if ( $settings['elements']['search']['show'] || is_super_admin() ) { ?>

<div class="hd-right lzblock" <?php if (!$settings['elements']['search']['show']&&is_super_admin()) echo 'style="display:none"'; ?> data-block="search">

<div class="header_search">

<div class='label'><?php echo __('Search this website', 'lizard');?> </div>

<?php get_search_form(); ?>
I also do not see the drop-down menu and I can not save.
I have not received help.
Anna
Hi!
Please, send me your header.php.

Please log in

Forgot your password?