• Hey there,
    since every page seems to have a search bar integrated automatically I was wondering if I could add one to the homepage aswell. Maybe above / below / or instead of the top call to action bar.
    I’ve been trying my luck but frankly couldn’t quite figure out how to do it.

    Thank you in advance,
    by the way I love the template guys. Hats off to you.

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

    Thanks for contacting us!

    For the homepage, it needs to do customization in the business template. After that, it will look like this screenshot

    Please let me confirm do you want this same.

    Thanks
    Rishabh

    Thread Starter volleybalm

    (@volleybalm)

    Hi Rishabh,

    yes, that looks about perfect.

    How can I do that?

    Regards
    Volley

    Hi volleybalm,

    To do this follow the below steps:

    1. Create a child theme. You can use THIS plugin to create a child theme.

    2. Create a file template-frontpage.php, edit and paste this code: https://pastebin.com/raw/pefcCrtC

    3. Save the file and activate the child theme.

    Now Go to Appearance >> Customzier >> Header settings >> Cutom CSS box .
    Add the below CSS code inside the Custom CSS box.

    .page-template-template-frontpage .hero-unit-small {
    	margin-bottom: 0px;
    }
    
    .main_slider {	
    	border-top: 0px;
    }

    Note: Make sure the homepage is assigned to a business template and then do the setting like this screenshot

    I hope this will work for you.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding a searchbar to the homepage’ is closed to new replies.