• Resolved bmiller1113

    (@bmiller1113)


    Hello WordPress supporters, I’m having trouble on my site https://www.ezhealthmart.com/ in which, I am trying to remove the clickable contact box in the bottom right corner of all the pages. I was wondering what I could do to get this off because I have a plugin that works great for getting people to call from the mobile site instead. Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi.

    I think it is your theme that is adding that icon and quick contact form. Check with your theme service.

    In the meanwhile you can add this snippet of code to the bottom of your child theme’s functions.php file, it should remove that on page load, but just as a temporary workaround if it worked.

    add_action('wp_footer', function() {
    	?>
    	<script type="text/javascript">
    		window.addEventListener('load', function() {
    			var cfa = document.getElementById('contact-button');
    			if( null !== cfa ) { cfa.remove(); }
    		}, false);
    	</script>
    	<?php
    });

    It looks like you are using a paid theme. I would suggest you posting this question on their forum. https://hb-themes.com/forum/. They should be able to help you in minutes.

    Thread Starter bmiller1113

    (@bmiller1113)

    Thank you guys! Very helpful, I suck I went to Bluehost asked for help, here and asked for help, and finally I know where to go. Thanks though!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trouble removing contact form’ is closed to new replies.