Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
islandview Friend
islandview
- Join date:
- December 2007
- Posts:
- 126
- Downloads:
- 8
- Uploads:
- 11
- Thanks:
- 24
- Thanked:
- 3 times in 2 posts
September 17, 2016 at 1:08 am #968772Hi. I’m using version 1.0.4 which I believe is the latest, and I have the JA Simpli template.
If I use the Promo Bar module set to display at ‘BOTTOM’ then that works, but at the top of my page I get a blank white area, the same height as if the Promo Bar was in ‘TOP’ position.
You can see it here: http://www.caymanactive.com
Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
September 21, 2016 at 4:01 am #969669Hi
You could try this. edit the file : modules/mod_japromobar/tmpl/default.php
Change the code
<?php if($params->get('push_page_down', 1) == 1){ ?> if(type=='opened' || type==''){ $('body').animate({'padding-top': (ja_promo_bar_height + ja_t3_main_nav) + 'px'}, '<?php echo $speed; ?>', '<?php echo $easingOpen; ?>'); }else{ $('body').animate({'padding-top': ja_t3_main_nav+'px'}, '<?php echo $speed; ?>', '<?php echo $easingOpen; ?>'); } <?php }else{ ?> if(type=='opened' || type==''){ $('body').animate({'top': (ja_promo_bar_height + ja_t3_main_nav) + 'px'}, '<?php echo $speed; ?>', '<?php echo $easingOpen; ?>'); }else{ $('body').animate({'top': ja_t3_main_nav+'px'}, '<?php echo $speed; ?>', '<?php echo $easingOpen; ?>'); } <?php } ?>
To
<?php if($params->get('push_page_down', 1) == 1){ ?> if(type=='opened' || type==''){ $('body').animate({'padding-<?php echo $params->get('position', 'top'); ?>': (ja_promo_bar_height + ja_t3_main_nav) + 'px'}, '<?php echo $speed; ?>', '<?php echo $easingOpen; ?>'); }else{ $('body').animate({'padding-<?php echo $params->get('position', 'top'); ?>': ja_t3_main_nav+'px'}, '<?php echo $speed; ?>', '<?php echo $easingOpen; ?>'); } <?php }else{ ?> if(type=='opened' || type==''){ $('body').animate({'<?php echo $params->get('position', 'top'); ?>': (ja_promo_bar_height + ja_t3_main_nav) + 'px'}, '<?php echo $speed; ?>', '<?php echo $easingOpen; ?>'); }else{ $('body').animate({'<?php echo $params->get('position', 'top'); ?>': ja_t3_main_nav+'px'}, '<?php echo $speed; ?>', '<?php echo $easingOpen; ?>'); } <?php } ?>
Regards
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
This topic contains 1 reply, has 2 voices, and was last updated by Mo0nlight 8 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum