Search Layout

This topic is: resolved

Tagged: ,

This topic contains 6 replies, has 4 voices, and was last updated by Nzidavid nzidavid 3 years ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #22074
    Mark Smith
    monkeysmoke
    Participant
    Post count: 17

    Hello!

    I’ve got a weird one I can’t seem to resolve. When a user searches for an item in our blog posts, the search returns a spot on but they are rendered with the blog posts on the left and the sidebars on the right.

    Everything other page in our blog section renders with the sidebars on the left. I’ve tried the various layout tabs etc but I think I’ve missed something?

    Thanks

    M

    #22737
    Mark Smith
    monkeysmoke
    Participant
    Post count: 17

    Hey Guys,

    Any clue as to what might be wrong with the search bar?

    Thanks,

    Mark

    #22739
    Veena
    Veena
    Moderator
    Post count: 8142

    We will check this and get back to you shortly on this ..

    #22769
    Veena
    Veena
    Moderator
    Post count: 8142

    Pls add the below code at line no:160 in file framework/presentation/layout-manager.php .

    
    if (is_search()){
      $layout = 'layout-2c-r';
    }
    #23244
    Nzidavid
    nzidavid
    Participant
    Post count: 10
    This reply has been marked as private.
    #23322
    Raghavendra
    Raghavendra
    Moderator
    Post count: 4607

    Can you pls check if you have checked the option “SHOW CONTENT IN ARCHIVE PAGES” under Blog section in theme options? Uncheck it and you should do fine.

    #23331
    Nzidavid
    nzidavid
    Participant
    Post count: 10

    Thanks. It worked

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

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