Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • stebson Friend
    #193125

    Hi all,

    the image I’ve got in the masshead doesn’t resize on ipads and tablets, so my plan is to disable it like it is on iphones and smaller devices. how can I do that?

    Cheers

    James,

    cssyeah Moderator
    #516253

    Hi stebson,

    If you want to disable the Masshead on iPad and Mobile, we have two solutions for you.

    Option 1: Create the custom.css file in the css folder and add the bellow CSS code section to file.

    @media only screen and (max-width:768px) {
    #ja-content-mass-top {
    display: none;
    }
    }


    Option 2:
    Open the spotlight-1.php file and add “hidden-phone” and “hidden-tablet” for “ja-masshead-wrap” div ( please look bellow code section)


    <?php if ($this->countModules('masshead')) : ?>
    <!-- MASSHEAD-->
    <div class="ja-masshead-wrap hidden-phone hidden-tablet">
    <div class="row">
    <div class="span12">
    <jdoc:include type="modules" name="<?php $this->_p('masshead') ?>" style="raw" />
    </div>
    </div>
    </div>
    <!-- //MASSHEAD -->
    <?php endif ?>

    Best regards,

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

This topic contains 2 replies, has 2 voices, and was last updated by  cssyeah 10 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum