Footer


Author Message
JILK

Posted: 11/14/2011
Quote message 

Hi all, I have created a template in v3 with a footer that is outside the sheet and set to "page width". Now the footer stays at the bottom of the screen when the browser is resized - that's fine EXCEPT it stretches the content area to also be a fluid height resulting in large white areas with no content at the bottom of the sheet.

Looking at the CSS, it looks as though Artisteer is applying an inline style "height" attribute in the CSS to the layout.

Is there a way to stop the main content area from resizing, and keep the footer underneath the sheet rather than at the bottom of the screen?

Tks in adv!
 
JILK

Posted: 11/14/2011
Quote message 

I think what I need is a floating footer as asked for but never answered in this post: http://www.artisteer.com/?post_id=169784&p=forum_post&forum_id=20

It appears that in v3, setting the footer outside the sheet (layout > footer > page width) automatically makes it a sticky footer (always at the bottom of the browser window). This expands the content area (artx-layout-cell) with an inline style height tag to push the content area down to the footer, matching the size of the browser. As my content area is white and the template background is dark, I end up with a whole load of white space after my shorter articles - which I don't want.

Does anyone know how to make the footer float outside the sheet and NOT sticky? Or to remove the inline style height tag from the layout cell?
 
Gina

Posted: 11/15/2011
Quote message 

Can you please provide the link
 
JILK

Posted: 11/17/2011
Quote message 

Site is in development and I don't want traffic from this forum cluttering up my Google Analytics (would be good if you could edit posts!)

It looks as though the sticky footer is how Artisteer v3 works by default. Just would be nice to how how to make the footer un-sticky.
 
Cathy

Posted: 4/3/2012
Quote message 

Hi...have you ever received an answer to this issue. I'm having the same challenge and in order for my site to look right I MUST have the footer stick to the bottom of the content are and not the bottom of the sheet itself.

Thanks,

Cat'
 
Alex

Posted: 10/14/2013
Quote message 

I had the same problem. Support of Artisteer helped me and here is the solution that works:

Quote :
Hello Unfortunately Artisteer does not support such footer position. You will need to edit exported template manually. For this simply comment out the following code from the script.js file:

jQuery(function ($) { 'use strict'; $(window).bind('resize', function () { var bh = $('body').height(); var mh = 0; var c = $('div.art-content'); c.removeAttr('style');  $('#art-main').children().each(function() { if ($(this).css('position') !== 'absolute') { mh += $(this).outerHeight(true); } });  if (mh < bh) { var r = bh - mh; c.css('height', (c.parent().outerHeight(true) + r) + 'px'); } });  if (browser.ie && browser.version < 8) { $(window).bind('resize', function() { var c = $('div.art-content'); var s = c.parent().children('.art-layout-cell:not(.art-content)'); var w = 0; c.hide(); s.each(function() { w += $(this).outerWidth(true); }); c.w = c.parent().width(); c.css('width', c.w - w + 'px'); c.show(); }); }  $(window).trigger('resize'); });


This should help. Best regards,