Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10769

    For my site http://cheeses.testingse.com

    the search page uses the default layout of a left sidebar. Is it possible to have no sidebar for this page. I need the default layout to have a left sidebar so my shop page has it.

    Also with the results i get, the search doesn’t seem to be able to account for minor spelling mistakes. Can this be solved by adding keywords etc. to the products its self or in the way the search bar operates.

    Finally, when a user searches in the box they have to delete the “search site” text first. Can this be removed when a user just click into the box to type?

    #69323

    Hi saranganv,

    The search bar should clear the text by default. If you view the demo site, this is the behavior there. If its not doing that, you might have a plugin that is causing a conflict with the theme. Also be sure to update the them to the newest 1.3 version as it has a few bug fixes and all around updates.

    The search function is built in from the WordPress core files (not theme added) so you would need to check the wordpress codex for details on its capability and how to add to it.

    To change the layout of the search page, you need to open search.php in the main theme files. On line 18, you’ll replace:

    <div class='content template-search <?php echo $avia_config['content_class']; ?> units'>

    with

    <div class='content template-search twelve units'>

    and then remove lines 32 through 39 which is the following:

    <?php

    //get the sidebar
    $avia_config['currently_viewing'] = 'page';

    get_sidebar();

    ?>

    Regards,

    Devin

    #69324

    In addition to this:

    How to get the layout of the resultspage to completely fullwith? It now still has the with as it had with the left sidebar.

    Thanks in advance, Erik

    #69325

    Hi Erik,

    You will need to open search.php again and change:

    <div class='content template-search <?php echo $avia_config['content_class']; ?> units'>

    to

    <div class='content template-search twelve alpha units'>

    Regards,

    Devin

    #69326

    Thanks Devin,

    I did this and it works but it’s still not fullwidth but something like 3/4 with space for a sidebar which is not there.

    #69327

    Hi Erbanger,

    Make sure you’ve removed the //get sidebar code and added replaced the correct items in the search page. I just double checked the code and directions above on a clean install of propulsion after using the import dummy data and it removed the sidebar and made the page full width without issue.

    Do you have a link to your site that I can take a look at if you are continuing to not get the same results?

    Regards,

    Devin

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Search Page Results & Layout’ is closed to new replies.