WordPress.org

Ready to get started?Download WordPress

Forums

Sugar and Spice
[resolved] Adding Search Bar in Header and Mobile (11 posts)

  1. eben.fabricius
    Member
    Posted 5 months ago #

    Hi There

    Is there a way to add a search bar to the header.

    Also the display of the site on my iPhone after using woo commerce is not responsive enough. Is there a way to sort this out by only displaying products in one line going down.

    Thanks

  2. alex27
    Member
    Theme Author

    Posted 5 months ago #

    Hello!

    It's not possible to add search bar to header. As for Woocommerce, Sugar & Spice was not designed to work with this plugin, so issues are unvoidable I'm afraid. I can't really say more without seeing your website.

  3. batharoy
    Member
    Posted 5 months ago #

    Adding the search function to the header requires editing a core php file. You will need to create a child-theme if you wish to do this.

    @alex27 <RANT> Telling someone it's not possible on a GPL licensed product is not true in this case. The functionality they asked for is a simple 1 line of code. If you, as the author, decide not to support that feature, it's your choice. As you can see by the screen shot I was able to get a functioning search with 1 line of code.</RANT>

  4. eben.fabricius
    Member
    Posted 5 months ago #

    Thanks four the feedback Batharoy. Can you help me a bit please and maybe send me the line of code. I would like to align it to the right please? [email address moderated - these forums do not provide support via email]

    Are there any shopping plugins i can use with this theme?

    Thanks

  5. eben.fabricius
    Member
    Posted 5 months ago #

    This theme does not seem to work using Internet Explorer on Windows?

    Is there a workaround?

    Thanks

  6. batharoy
    Member
    Posted 5 months ago #

    For the search:
    Do want it in the top-right or bottom-right? That will determine placement of the code in the file. Either way copy your header.php file from your parent folder into your child folder.

    Shopping:
    woocommerce does not work out of the box but following this video I did get it to work.

    I also had no problems with IE 11 on Windows 7.

  7. alex27
    Member
    Theme Author

    Posted 5 months ago #

    Since I created this theme, I actually do realize that everything is possible given enough technical knowledge, but rarely it's as easy as inserting one line of code. In this case inserting search from is one thing, styling and making sure everything looks nice (also on mobile devices) and does not interfere with other elements on page is another. So it that was my call, of course you're welcome to your own.

    Sugar & Spice was tested to work on IE 10 & 11 on Windows 7. I can't speak for Woocommerce though.
    @eben.fabricius - please do not provide your email address, it's against forum rules.

  8. eben.fabricius
    Member
    Posted 5 months ago #

    My apologies Alex

    @Batharoy i have created child theme.

    Next step please.

    Thanks

  9. eben.fabricius
    Member
    Posted 5 months ago #

    @alex27

    here is the link: http://www.bounceaboutpartyhire.co.za

    It does not work on IE and i bought the pro version

    Help please

  10. alex27
    Member
    Theme Author

    Posted 5 months ago #

    That changes things a bit - this forum is to provide support to free themes only. Please contact me directly and we'll continue.

  11. eben.fabricius
    Member
    Posted 5 months ago #

    Just sent you a PM

Reply

You must log in to post.

About this Theme

About this Topic