-
AuthorPosts
-
shemeam Friend
shemeam
- Join date:
- February 2015
- Posts:
- 259
- Downloads:
- 55
- Uploads:
- 67
- Thanks:
- 106
- Thanked:
- 16 times in 4 posts
December 6, 2015 at 9:42 pm #761220Hi
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)
ThanksShemeam
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 7, 2015 at 4:12 am #761408Hi shemeam,
You can post your site’s URL here and turn OFF ‘Optimize CSS’ option so that I can take a look.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 7, 2015 at 5:06 am #761431Hi,
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 Friendshemeam
- Join date:
- February 2015
- Posts:
- 259
- Downloads:
- 55
- Uploads:
- 67
- Thanks:
- 106
- Thanked:
- 16 times in 4 posts
December 8, 2015 at 12:21 am #761772I have sent you login details, thanks
Shemeam
shemeam Friendshemeam
- Join date:
- February 2015
- Posts:
- 259
- Downloads:
- 55
- Uploads:
- 67
- Thanks:
- 106
- Thanked:
- 16 times in 4 posts
December 8, 2015 at 12:21 am #764006I have sent you login details, thanks
Shemeam
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 8, 2015 at 4:03 am #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 Friendshemeam
- Join date:
- February 2015
- Posts:
- 259
- Downloads:
- 55
- Uploads:
- 67
- Thanks:
- 106
- Thanked:
- 16 times in 4 posts
December 8, 2015 at 1:49 pm #765559Hi 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
shemeam Friendshemeam
- Join date:
- February 2015
- Posts:
- 259
- Downloads:
- 55
- Uploads:
- 67
- Thanks:
- 106
- Thanked:
- 16 times in 4 posts
December 11, 2015 at 10:31 am #803572This reply has been marked as private.Shemeam
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
shemeam Friendshemeam
- Join date:
- February 2015
- Posts:
- 259
- Downloads:
- 55
- Uploads:
- 67
- Thanks:
- 106
- Thanked:
- 16 times in 4 posts
December 14, 2015 at 9:52 am #812308Thanks 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 14, 2015 at 10:43 am #812441You 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 Friendshemeam
- Join date:
- February 2015
- Posts:
- 259
- Downloads:
- 55
- Uploads:
- 67
- Thanks:
- 106
- Thanked:
- 16 times in 4 posts
December 14, 2015 at 6:11 pm #813204This reply has been marked as private.Shemeam
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 15, 2015 at 4:20 am #813960I already had this admin account before that, I need **FTP account to access hosting and check it code directly of your site.
-
AuthorPosts
This topic contains 24 replies, has 5 voices, and was last updated by Ninja Lead 8 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum