Re: Responsive Sheffield Blue V 2.0!

Originally Posted by
soxophoneplayer
I don't think match height was part of RSB v2. The jscript files were present in zc 1.5.5 Responsive Classic but not in RSB. I tried unsuccessfully to incorporate but was above my pay grade. My work around was to adjust min-height which was already used in the template stylesheet - I merely set it to a higher px number that accommodated my set up.
Pay Grade!!!
Move the javascript files from the responsive_classic jscript folder to your RSB jscript folder
jquery.matchHeight.js
jscript.matchHeight-min.js
jscript_responsive_framework.php
In jscript_responsive_framework.php I didn't use any of the responsive mobile stuff so I deleted all but the lines needed for matchHight which are.
Code:
<script type="text/javascript"><!--//
(function($) {
$(document).ready(function() {
$('.centeredContent').matchHeight();
$('.specialsListBoxContents').matchHeight();
$('.centerBoxContentsAlsoPurch').matchHeight();
$('.categoryListBoxContents').matchHeight();
$('.centerBoxContentsLinks').matchHeight();
});
}) (jQuery);
//--></script>
I also renamed the file so in the future it would be easy to upgrade.
I'm running on ZC1.5.5e, started with RSB v1, modified to meet php7.1 and then some... works!
Idea of what's going on here any box you want to match hight needs to be listed here and all need the same class name. added for links was .centerBoxContentsLinks each div has this class so each link box match the hight of the others..
Hope that helps... Not getting paid any more, so guess pay grade is out...
Dave
Always forward thinking... Lost my mind!
Bookmarks