Shop Categories

X

Big gap between post and footer

Home Forums Agama Pro Big gap between post and footer

Topic Resolution: Resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3486
    Lukasz
    Participant

    Hi,

    recently on my homepage appeared great blank gap between post and footer while I have not touched anything last days. Maybe it appeared when I updated the theme – I’m not sure when. Would appreciate your help or suggestions what’s wrong.

    Reagrds
    Luka

    #3487
    Jerry
    Keymaster

    Hello Lukasz,

    I see the gap on your website, will try to send you a quick update once i will know more why this gap appeared 🙂

    Regards

    #3490
    Jerry
    Keymaster

    Hello Lukasz,

    I have made a quick fix for you, please download next function.js file: https://mega.nz/#!R5dnlYxA!XPuguWsRqprYy1dL18GbHnKGg8r3Uvu3fPam04GB5VY

    & override it to next Agama Pro directory:
    wp-content/themes/agama-pro/assets/js

    After that the gap bug should be resolved.

    Best Regards

    • This reply was modified 5 years, 9 months ago by Jerry.
    #3494
    Lukasz
    Participant

    Thanks Jerry,
    I downloaded the file and uploaded onto my panel overriding the existing file (wp-content/themes/agama-pro/assets/js), but the gap remained. Any other suggestions? 🙂

    Regards

    #3496
    Jerry
    Keymaster

    I think change is not visible because of cache.

    Follow next steps, open next file:
    wp-content/themes/agama-pro/includes/agama-core.php

    Search on line 22 for something like next:
    static private $version = '1.3.5.20';

    And change it to:
    static private $version = '1.3.5.21';

    After that refresh website and see if gap has been fixed.

    Regards

    #3590
    Lukasz
    Participant

    Hi Jerry,

    I changed the file the way you suggested, but unfortunately the gap remained.
    Would appreciate your further help,

    Lukasz

    #3591
    Jerry
    Keymaster

    Open next file:
    wp-content/themes/agama-pro/assets/js/functions.js

    Search on line 12 for: THEMEVISION.initialize.bodyHeight(); & remove it.

    Search on line 73 to 93 for next code:

                   /**
    		 * Stick Footer to Bottom
    		 */
    		bodyHeight: function() {
    			var $body = $('body').height();
    			var $height = $('#main-wrapper').height();
    			
    			if( agama_pro.is_admin_bar_showing == true ) {
    				var $bar = 32;
    			} else {
    				$bar = 0;
    			}
    			
    			var $final = $body - $height - $bar;
    			
    			if( ! $('#agama_slider').hasClass('camera_wrap') || ! $('#slider-wrapper').hasClass('agama-slider') ) {
    				if( $height < $body ) {
    					$('#footer-wrapper').css('margin-top', $final);
    				}
    			}
    		},

    and remove it completely.

    After those changes gap must be removed.

    Regards

    • This reply was modified 5 years, 9 months ago by Jerry.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.