Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • shemeam Friend
    #761220

    Hi

    I am using template JA Magz.
    I would like to use JA Promo Bar, but it does not push the page down so it covers up our logo.
    Any suggestions (preferably custom css code)
    Thanks

    Shemeam

    Saguaros Moderator
    #761408

    Hi shemeam,

    You can post your site’s URL here and turn OFF ‘Optimize CSS’ option so that I can take a look.

    Ninja Lead Moderator
    #761431

    Hi,

    In this case, I need to check this bug directly on your site but now your site is under maintaining mode. I could not access to your site. You can PM me the credentials info access to your site. I will help to check it further.

    Regards

    shemeam Friend
    #761772

    I have sent you login details, thanks

    Shemeam

    shemeam Friend
    #764006

    I have sent you login details, thanks

    Shemeam

    Ninja Lead Moderator
    #764013

    <em>@shemeam 505551 wrote:</em><blockquote>I have sent you login details, thanks</blockquote>

    You can use my solution below

    + Open modules/mod_japromobar/tmpl/default.php file

    find and change

    function jaClosePromoBar(){
    var h = parseInt($('#ja-promo-bar-<?php echo $module->id?>').outerHeight());
    $('#ja-promo-bar-<?php echo $module->id?> .inner').animate({'top':'-'+h+'px'}, '<?php echo $speed; ?>', '<?php echo $easingClose; ?>');
    $('#ja-promo-bar-<?php echo $module->id?> .inner').hide('<?php echo $speed; ?>');
    $('#ja-promo-bar-<?php echo $module->id?> .icon-toogle').removeClass('opened').addClass('closed');
    jaPromoBarT3Nav('closed');
    jaPromoBarBody('closed');
    setCookie('ja_promo_bar_<?php echo $module->id?>','closed',1);
    }

    function jaOpenPromoBar(){
    $('#ja-promo-bar-<?php echo $module->id?> .inner').css('display', 'block');
    $('#ja-promo-bar-<?php echo $module->id?> .inner').show('<?php echo $speed; ?>', function() {
    $('#ja-promo-bar-<?php echo $module->id?> .inner').animate({'top':0}, '<?php echo $speed; ?>', '<?php echo $easingClose; ?>');
    $('#ja-promo-bar-<?php echo $module->id?> .icon-toogle').removeClass('closed').addClass('opened');
    jaPromoBarT3Nav('opened');
    jaPromoBarBody('opened');
    setCookie('ja_promo_bar_<?php echo $module->id?>','opened',1);
    });
    }

    to

    function jaClosePromoBar(){
    var h = parseInt($('#ja-promo-bar-<?php echo $module->id?>').outerHeight());
    $('#ja-promo-bar-<?php echo $module->id?> .inner').animate({'top':'-'+h+'px'}, '<?php echo $speed; ?>', '<?php echo $easingClose; ?>');
    $('#ja-promo-bar-<?php echo $module->id?> .inner').hide('<?php echo $speed; ?>');
    $('#ja-promo-bar-<?php echo $module->id?> .icon-toogle').removeClass('opened').addClass('closed');
    $("#t3-header").css('top','0px');
    jaPromoBarT3Nav('closed');
    jaPromoBarBody('closed');
    setCookie('ja_promo_bar_<?php echo $module->id?>','closed',1);
    }

    function jaOpenPromoBar(){
    $('#ja-promo-bar-<?php echo $module->id?> .inner').css('display', 'block');
    $('#ja-promo-bar-<?php echo $module->id?> .inner').show('<?php echo $speed; ?>', function() {
    $('#ja-promo-bar-<?php echo $module->id?> .inner').animate({'top':0}, '<?php echo $speed; ?>', '<?php echo $easingClose; ?>');
    $('#ja-promo-bar-<?php echo $module->id?> .icon-toogle').removeClass('closed').addClass('opened');
    $("#t3-header").css('top','51px');
    jaPromoBarT3Nav('opened');
    jaPromoBarBody('opened');
    setCookie('ja_promo_bar_<?php echo $module->id?>','opened',1);
    });
    }

    + Open templates/ja_magz_ii/js/script.js file

    find and change

    scrollToggle = function () {
    $('html').removeClass ('hover');
    if (scrollDir == 1) {
    $('html').addClass ('scrollDown').removeClass ('scrollUp');
    } else if (scrollDir == -1) {
    $('html').addClass ('scrollUp').removeClass ('scrollDown');
    } else {
    $('html').removeClass ('scrollUp scrollDown');
    }
    $('html').addClass ('animating');
    setTimeout(function(){ $('html').removeClass ('animating'); }, 1000);
    }

    to

    scrollToggle = function () {
    $('html').removeClass ('hover');
    if (scrollDir == 1) {
    $('html').addClass ('scrollDown').removeClass ('scrollUp');
    $("#t3-header").css('top','0px');
    } else if (scrollDir == -1) {
    $('html').addClass ('scrollUp').removeClass ('scrollDown');
    $("#t3-header").css('top','0px');
    } else {
    $('html').removeClass ('scrollUp scrollDown');
    $("#t3-header").css('top','51px');
    }
    $('html').addClass ('animating');
    setTimeout(function(){ $('html').removeClass ('animating'); }, 1000);
    }

    Hope it helps

    shemeam Friend
    #765559

    Hi Ninja

    That does push the page and the header, but not the mainnav (so the mega-menu disappears) And it puts the following text on the screen

    Currently editing: /home/wrccenergy/public_html/modules/mod_japromobar/tmpl/default.php Encoding: Reopen Switch to Code Editor Close Save

    Do you have a little code solution for that as well please 🙂

    Shemeam

    Ninja Lead Moderator
    #791823

    @shemeam: You can provide me the URL of your site and admin login info of your site again by putting info in your reply and SET AS PRIVATE reply (so that only Moderators and Staffs can see). I will help you out.

    shemeam Friend
    #803572
    This reply has been marked as private.

    Shemeam

    Ninja Lead Moderator
    #811809

    I could not upload both files into directly on your site, you can download and upload it directly on your site and don’t forget to backup old files before doing process

    • modules/mod_japromobar/tmpl/default.php
    • templates/ja_magz_ii/js/script.js file

    1. files.zip
    shemeam Friend
    #812308

    Thanks Ninja Lead

    I have uploaded the files, this pushes down the header and the page, but it does not push down the mainnav (megamenu bar) so I cannot see the menus.

    If there is not a solution to this I will find another way.
    Please let me know either way.

    I very much appreciate your help.

    Shemeam

    Ninja Lead Moderator
    #812441

    You can provide me the FTP account of your site again by putting info in your reply and SET AS PRIVATE reply (so that only Moderators and Staffs can see). I will help you to check this problem directly on your site. I applied the same that at my end and it’s working fine.

    shemeam Friend
    #813204
    This reply has been marked as private.

    Shemeam

    Ninja Lead Moderator
    #813960

    I already had this admin account before that, I need **FTP account to access hosting and check it code directly of your site.

    shemeam Friend
    #814662
    This reply has been marked as private.

    Shemeam

Viewing 15 posts - 1 through 15 (of 25 total)

This topic contains 24 replies, has 5 voices, and was last updated by  Ninja Lead 8 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum