Hi,
In sections/big_title.php, replace the following:
if( (!empty($zerif_bigtitle_redbutton_label) && !empty($zerif_bigtitle_redbutton_url)) ||
(!empty($zerif_bigtitle_greenbutton_label) && !empty($zerif_bigtitle_greenbutton_url))):
echo '<div class="buttons">';
if ( !empty($zerif_bigtitle_redbutton_label) && !empty($zerif_bigtitle_redbutton_url) ):
echo '<a href="'.$zerif_bigtitle_redbutton_url.'" class="btn btn-primary custom-button red-btn">'.__($zerif_bigtitle_redbutton_label,'zerif-lite').'</a>';
endif;
if ( !empty($zerif_bigtitle_greenbutton_label) && !empty($zerif_bigtitle_greenbutton_url) ):
echo '<a href="'.$zerif_bigtitle_greenbutton_url.'" class="btn btn-primary custom-button green-btn">'.__($zerif_bigtitle_greenbutton_label,'zerif-lite').'</a>';
endif;
echo '</div>';
endif;
with:
get_search_form();
And make sure that you’re using a child theme. 🙂
Regards,
Hardeep
Hey Hardeep,
Thanks for the response. It works like a charm!
But, after removing buttons and adding the search form , the area of big title section shrank. How can I get back the original section area ?
Also, can u plz suggest some good plugins to modify and customize my search box.
Thanks a lot
Regards
Hi,
Try adding the following CSS to solve this issue:
.search-form {
margin-bottom: 50px;
}
and you can customize the search form by creating either a searchform.php or us by using CSS. 🙂
Regards,
Hardeep
I would like to have one of these buttons to be a click to call is this possible?
Please consider creating your own thread: https://wordpress.org/support/theme/zerif-lite#postform
Best regards,
Alexandra