Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6180

    Hi,

    Do you know how to change the search results page so there are 3 columns of posts vs. the 2 columns I have now?

    http://www.heyheygorgeous.com/?price=any&neighborhood=downtown

    I have spent a couple hours trying to change things in the loop-search.php file but I can’t figure it out.

    Woud really appreciate your help.

    Thanks,

    enrique

    #53189

    Hey,

    I’m not sure if the following solution works – if not this modification may require some major code changes I can’t provide here…

    Open up includes/loop-search.php and replace:

    $alternate  = $smallcounter % 2 == 0 ? 'even' : 'odd';

    with:

    $alternate  = $smallcounter % 3 == 0 ? 'even' : 'odd';

    Open up search.php and replace:

    <div class='container'>

    <h1 class='overview_heading '><?php echo avia_which_archive(); ?></h1>

    <div id='template-search' class='content'>

    with:

    <div class='container template-fullwidth'>

    <h1 class='overview_heading '><?php echo avia_which_archive(); ?></h1>

    <div id='template-search' class='content template-fullwidth'>

    and delete:

    get_sidebar();

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

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