test
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • felix1 Friend
    #726205

    Without 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 Moderator
    #754761

    Not sure I’m seeing the difference :((

    felix1 Friend
    #754763

    Look 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 Moderator
    #754765

    Try modifying line 32 in your custom.css file:


    .page-masthead .row-feature {
    padding-top: 30px;
    }

    felix1 Friend
    #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 Moderator
    #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 Friend
    #754771

    Thanks! Looking forward to your reply…

    Felix Rimfrost

    Ninja Lead Moderator
    #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 Friend
    #754925

    Yes! 🙂

    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

Viewing 9 posts - 1 through 9 (of 9 total)

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