Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #55093
    doug
    Member

    Hi there,

    I don’t want the right-header search form, but I would like to wire in some code for a call to action in place of it. I’d like it to stack below the logo for mobile devices and be centered.

    I created a child theme and setup a style sheet and header.php, but I can’t locate the searchform.php ion the header.php. I like to research these things out, but I am no where near a proficient coder!

    Any help would be much appreciated!

    site link: http://www.concretecuttingandcoring.ca/preview/ ( I have title and description showing right now, but I would like more styling flexibility with that…right align etc.)

    #55170
    Sakin
    Keymaster

    @doug: You can just copy the following functions in your child theme functions.php file and edit it as per your need.

    function catchresponsive_header_right() { ?>
    	<aside class="sidebar sidebar-header-right widget-area">
    		<section class="widget widget_search" id="header-right-search">
    			<div class="widget-wrap">
    				<?php echo get_search_form(); ?>
    			</div>
    		</section>
    		<?php if ( '' != ( $catchresponsive_social_icons = catchresponsive_get_social_icons() ) ) { ?>
    			<section class="widget widget_catchresponsive_social_icons" id="header-right-social-icons">
    				<div class="widget-wrap">
    					<?php echo $catchresponsive_social_icons; ?>
    				</div><!-- .widget-wrap -->
    			</section><!-- #header-right-social-icons -->
    		<?php 
    		} ?>	
    	</aside><!-- .sidebar .header-sidebar .widget-area -->	
    <?php	
    }

    Just for your note: If you upgrade to pro version, you will get Header Right Sidebar and you can add or remove widgets from “Appearance => Widgets”. For more information about additional features in Catch Responsive Pro, you can check out theme instructions page at http://catchthemes.com/theme-instructions/catch-responsive-pro/

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘How to replace header search form with call to action text’ is closed to new replies.