• My website footer has inexplicably developed a huge (1014px) top margin. Since it’s being generated inline, I don’t know where or how to get rid of it, nor can I figure out why it’s even there.

    Please help!!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cobberas63

    (@cobberas63)

    NOTICE TO COMMERCIAL WEB DEVELOPERS:
    I want this issue to be fixed by the theme developers. If you contact me through my website, to offer your commercial web development services for fixing this issue, you will get IGNORED at best, and REPORTED FOR SPAMMING at worst…

    Thread Starter cobberas63

    (@cobberas63)

    The problem arises from this script in functions.js

    	/**
    	 * Adds a top margin to the footer if the sidebar widget area is higher
    	 * than the rest of the page, to help the footer always visually clear
    	 * the sidebar.
    	 */
    	$( function() {
    		if ( body.is( '.sidebar' ) ) {
    			var sidebar   = $( '#secondary .widget-area' ),
    			    secondary = ( 0 === sidebar.length ) ? -40 : sidebar.height(),
    			    margin    = $( '#tertiary .widget-area' ).height() - $( '#content' ).height() - secondary;
    			if ( margin > 0 && _window.innerWidth() > 999 ) {
    				$( '#colophon' ).css( 'margin-top', margin + 'px' );
    			}
    		}
    	} );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unexplained inline top margin on footer’ is closed to new replies.