Hi David..Can you help me for footer css
I am use grid/list switch view In search page with sidebar.But footer error in list view page(grid view work fine)
Grid view:
{link saved}
List View :
{link saved}
I think some wrap height Problem.
technoarenasol
Ok David.So can be possible display different number of result means in Grid view 12 results and in list view 7 Results.
Hi technoarenasol,
Yes! In search.php (list/grid version) look for this code at line 12:
$view = (isset($_GET["view"])?$_GET["view"]:"");
...and REPLACE with:
$view = (isset($_GET["view"])?$_GET["view"]:"");
$config_resultsPerPage = ($view=="grid"?"12":"7");
Cheers,
David.
--
PriceTapestry.com
Hi technoarenasol,
I don't think it's related to the view at all; rather it's that your footer is appearing at a fixed vertical position on the page. In grid view; there is sufficient space above that point for everything to display above your footer; but in list view the page body is quite a bit longer than the fixed position of your footer.
Your CSS is quite complex and I couldn't immediately spot a fixed positioning element that is obviously in control of where your footer appears so I think it's likely appearing relative to a higher level div that finishes on the page at the position at which the footer is appearing (unrelated to the height of the search results content to the right of the page)
The first thing I would do is take your entire footer DIV (id="footer-wrapper") and move it to the very end, so the closing </body> tag immediately follows it. I doubt that on its own would work; but then one-by-one move it further up in your DIV hierarchy - I think you'll find a position at which it then becomes fluid to the page length.
Hope this helps!
Cheers,
David.
--
PriceTapestry.com