Page 1 of 1

The same height for sidebar and content+troubles with menu

PostPosted: Tue Jan 10, 2012 8:00 pm
by haninnka
Hi,
I wonder if there is a way how to make my sidebar and content the same height? (I changed the theme little bit - see http://www.dennisworship.com). I mean Im sure there is some solution, I just dont know about it. I found this code,

Code: Select all
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript">
        $(function() {         
                var containerheight = $("sidebar").height;
                $(".sidebar").children().css("height",containerheight)
    </script>


but I dont know where to put it. And if it is the right one. Right now Im using the min-height for the content and the sidebar, but thats not exactly what I want :)

The second problem I cant resolve is that the sliding menu sometimes (like 1/15) doesnt work right. The pictures get stuck on the left side of the menu. When i refresh the page, everything is ok.

Any ideas please?
Thanks a lot, and thank you Wayne for the great theme.