Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • Ninja Lead Moderator
    #874097

    Hi,

    You will have to make some customization on the header of template, try with below steps:

    • Open templates/ja_magz_ii/tpls/blocks/header.php file find and change
    <?php if($logoimgsm) : ?>
        <?php if ($catclass) { ?>
        <img class="logo-img-sm" src="<?php echo JURI::base(true) . '/' . $logopathsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
        <?php } else { ?>
        <img class="logo-img-sm" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
        <?php } ?>
    <?php endif ?>

    to

    <?php if($logoimgsm) : ?>
        <?php if ($catclass) { ?>
        <img class="logo-img-sm hidden-xs" src="<?php echo JURI::base(true) . '/' . $logopathsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
        <?php } else { ?>
        <img class="logo-img-sm hidden-xs" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
        <?php } ?>
    <?php endif ?>
    • Add new position under logo position as my screenshot

    Hope it helps

    Regards


    1. Screen-Shot-2016-02-02-at-13.46.31
    lovedigit Friend
    #874314

    Hello @ninjalead

    I made the changes. See Screenshot

    It made the logo disappear in mobile view, but the module is not being loaded.

    Edit: It is working fine. My bad.

    Only One more problem. Can you help me put the notification module to the center, just like default social buttons? I have loaded this module in head-social position.

    See Screenshot

    Ninja Lead Moderator
    #875194

    If possible, you can give me the URL of your site. I will help you to check it directly on your site.

    lovedigit Friend
    #875257

    If possible, you can give me the URL of your site. I will help you to check it directly on your site.

    I have updated the OP with required details. Please Check.

    Ninja Lead Moderator
    #875289

    I could not see your apply as my suggestion above.

    I tried to add that code to your site, but I got the problem, see the screenshot


    1. Screen-Shot-2016-02-03-at-17.55.19
    lovedigit Friend
    #875458

    I could not see your apply as my suggestion above.

    I tried to add that code to your site, but I got the problem, see the screenshot

    Please try now.

    Ninja Lead Moderator
    #876093

    You can send me FTP account of your site via your reply and set as private reply. I will check it directly on your site.

    lovedigit Friend
    #876516
    This reply has been marked as private.
    Ninja Lead Moderator
    #876959
    This reply has been marked as private.
    lovedigit Friend
    #877278
    This reply has been marked as private.
    Ninja Lead Moderator
    #878223
    This reply has been marked as private.
    lovedigit Friend
    #878528
    This reply has been marked as private.
    Ninja Lead Moderator
    #879441

    I used cyberduck FTP tool and access to your hosting and changed templates/ja_magz_ii/tpls/blocks/header.php file, now you can see the logo of your site is hidden and show mobile-notification position on mobile layout.

    Let me know if it helps

    lovedigit Friend
    #879714

    Thank you! @ninjalead. That worked perfectly! except, I need the logo to disappear only for logged in users, not for guests as well. do you think it is possible? Fixed it by publishing logo inside custom html module.

    Also, I need the notification module posted in the position "head-social" to be centered. I would really appreciate your help.

    See screenshot

    Ninja Lead Moderator
    #879914

    I have checked your site I appreciate the hard work on your site, but with more and more customization you should hire a developer to carry out such work, customization support is out of JA support scope.

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

This topic contains 22 replies, has 2 voices, and was last updated by  lovedigit 8 years, 9 months ago.

The topic ‘Hide logo and load new module position in mobile view’ is closed to new replies.