Grey Column menu suddenly stops and becomes white

  • mylenecg
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 10 months ago #5656 by mylenecg
I guess you did not mean that...
Safari is my browser. I am sorry: language barrier...:dry:

Please Log in to join the conversation.

  • mylenecg
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 10 months ago #5660 by mylenecg

Please Log in to join the conversation.

More
13 years 10 months ago - 13 years 10 months ago #5664 by Lazy Garfield
www.globecosmetics.nl/
Site is online :laugh:
The problem is the same in Firefox IE and Opera.
Last edit: 13 years 10 months ago by Lazy Garfield.

Please Log in to join the conversation.

More
13 years 10 months ago - 13 years 10 months ago #5665 by Lazy Garfield

ivan.milic wrote: I tried to replicate that but with no success, can you tel us what browser do you use and if would be good if you cant catch snapshoot of that.


Problem is the same with Firefox, IE and Opera.
It occurs random and disappears with a browser refresh.
Seems to have something to do with calculation of element.style from column_left. Height without white block is 3148px on one page, when white block appears in bottom element.style returns a height of 3122 px

The screenshot is of this page:
www.globecosmetics.nl/Flori-Roberts-Color-Cosmetics.html
Attachments:
Last edit: 13 years 10 months ago by Lazy Garfield.

Please Log in to join the conversation.

More
13 years 10 months ago - 13 years 10 months ago #5668 by ivan.milic
Go to Template Manager -> Edit HTML and find this block of code:
<script type=text/javascript>
jQuery(document).ready(function(){
var left_height = jQuery("#content_main").innerHeight();
jQuery("#column_left").css({height: left_height});
/*FIX*/if(jQuery.browser.msie && jQuery.browser.version <= 7) jQuery("#column_left").css('margin-bottom',-20);
});
</script>


and modify it to look as this:

<script type=text/javascript>
jQuery(document).ready(function(){

var left_height = jQuery("#content_main").outerHeight();
if(!left_height){
left_height = jQuery("#content_main").innerHeight();
left_height = Math.round(left_height * 1.015);
}

jQuery("#column_left").css({height: left_height});
/*FIX*/if(jQuery.browser.msie && jQuery.browser.version <= 7) jQuery("#column_left").css('margin-bottom',-20);
});
</script>
Last edit: 13 years 10 months ago by ivan.milic.

Please Log in to join the conversation.

More
13 years 10 months ago #5669 by Lazy Garfield
In layout.css, template.css.css or the index.php of the template?

Please Log in to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum