-
AuthorPosts
-
felix1 Friend
felix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
November 17, 2015 at 10:01 pm #726205Without Promo Bar Extension, masthead looks like this:
With Promo Bar installed and visible, masthead looks like this:
With Promo Bar installed and not visible, masthead looks like this:
Is it possible to tweak the Promo Bar default.php file so it doesn’t change the layout?
Sincerely//Felix Rimfrost
Felix Rimfrost
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 17, 2015 at 10:07 pm #754761Not sure I’m seeing the difference :((
felix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
November 17, 2015 at 10:23 pm #754763Look at the badge! The space between bottom of badge and the letters “En” is different when I enable JA Promo Bar. I thought the Promo Bar would move the whole page down, but it seems that only the menu moves down.
Is it possible to tweak JA Promo Bar default.php file so the whole page moves down?
Felix Rimfrost
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 17, 2015 at 10:31 pm #754765Try modifying line 32 in your custom.css file:
.page-masthead .row-feature {
padding-top: 30px;
}felix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
November 17, 2015 at 10:56 pm #754769<em>@TomC 502753 wrote:</em><blockquote>Try modifying line 32 in your custom.css file:
.page-masthead .row-feature {
padding-top: 30px;
}
</blockquote>Thanks!
But that solution isn’t what I want, because when I disable the Promo Bar, I must change padding-top to 0px again.Is it possible to make a tweak that automatically push the whole page down when I enable Promo Bar and automatically move the whole page up when I disable Promo Bar?
Felix Rimfrost
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 17, 2015 at 11:15 pm #754770<em>@felix1 502759 wrote:</em><blockquote>Thanks!
But that solution isn’t what I want, because when I disable the Promo Bar, I must change padding-top to 0px again.Is it possible to make a tweak that automatically push the whole page down when I enable Promo Bar and automatically move the whole page up when I disable Promo Bar?</blockquote>
It may be, but it may take and additional tweak I’m not certain about.
I’ll throw this out to my Support Team colleagues for further review/ideas.
felix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
November 17, 2015 at 11:20 pm #754771Thanks! Looking forward to your reply…
Felix Rimfrost
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 19, 2015 at 7:09 am #754902@felix1: You can use my solution below to fix the problem on your site.
Open modules/mod_japromobar/tmpl/default.php file and add script as my screenshot
(function($){
$(document).ready(function(){
if ($('.ja-promo-bar')) {
$('.t3-wrapper').css('top','55px');
}
});
})(jQuery);
Let me know if it helps
felix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
November 19, 2015 at 10:26 am #754925Yes! 🙂
Now the whole page moves down…
But it would be nice if this extension worked out of the box, but anyway, now I’m happy again… 🙂
Felix Rimfrost
-
AuthorPosts
This topic contains 9 replies, has 3 voices, and was last updated by felix1 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum