Forums › Forums › Search & Filter Pro › Choosing correct container?
- This topic has 4 replies, 2 voices, and was last updated 11 years ago by
Ross.
-
Anonymous(Private) April 1, 2015 at 8:46 pm #14364
Hi, I had everything working and then had to switch to a different theme and I’m having a tough time picking the right container so that the push menu doesn’t close once you click on a filter.
On the left sidebar just below the words ‘The Birdview’ there is a list of categories separated by “|”. The first time you click a category filter, it closes the menu (should not do that). Before I had to switch themes I had it working so that you could click on as many categories as you liked without the menu closing. I’ve tried changing the container to several different things but can’t get it working correctly again. Are you able to take a look and suggest what the correct container might be?
http://waterwalkmedia.com/wire/
Right now I have been using the container “#main” I also tried “section#main” but the menu still closes. Any suggestions are appreciated. thx.
Ross Moderator(Private) April 1, 2015 at 8:59 pm #14365Hi Jade
I don’t believe the menu opening or closing has anything to do with Search & Filter.
There is no code in S&F that would show or hide anything in your theme, the only tning it does is load ajax into the container – which seems to be correct – renaming the ajax container I’m sure has no effect on whether your sidebar is opening or closing or even if you disabled ajax completely!
I think you have some custom JS code that is doing this – perhaps carried over from the previous theme?
Thanks
RossRoss Moderator(Private) April 1, 2015 at 8:59 pm #14366Hi Jade
I don’t believe the menu opening or closing has anything to do with Search & Filter.
There is no code in S&F that would show or hide anything in your theme, the only tning it does is load ajax into the container – which seems to be correct – renaming the ajax container I’m sure has no effect on whether your sidebar is opening or closing or even if you disabled ajax completely!
I think you have some custom JS code that is doing this – perhaps carried over from the previous theme?
Thanks
Ross -
AuthorPosts