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

    Hallo!

    In Template Manager: Edit Style > Layout > Responsive Layout, I know that I can hide different positions via the eye icon. But how can I hide masthead position? It doesn’t have an eye icon!?

    Sincerely Felix Rimfrost


    1. no_eye_masthead

    Felix Rimfrost

    Saguaros Moderator
    #575745

    Hi Felix,

    You can try with this tweak:
    – Go to file: root/templates/purity_iii/tpls/blocks/masthead.php
    – Look for this snippet of code:


    <?php if ($this->countModules ($masthead_position)): ?>
    <jdoc:include type="modules" name="<?php echo $masthead_position ?>" style="FeatureRow" />
    <?php endif ?>

    replace it with:


    <?php if ($this->countModules ($masthead_position)): ?>
    <div id="t3-section" class="wrap sections-wrap <?php $this->_c($masthead_position) ?>">
    <jdoc:include type="modules" name="<?php echo $masthead_position ?>" style="FeatureRow" />
    </div>
    <?php endif ?>

    Saguaros Moderator
    #642074

    Hi Felix,

    You can try with this tweak:
    – Go to file: root/templates/purity_iii/tpls/blocks/masthead.php
    – Look for this snippet of code:


    <?php if ($this->countModules ($masthead_position)): ?>
    <jdoc:include type="modules" name="<?php echo $masthead_position ?>" style="FeatureRow" />
    <?php endif ?>

    replace it with:


    <?php if ($this->countModules ($masthead_position)): ?>
    <div id="t3-section" class="wrap sections-wrap <?php $this->_c($masthead_position) ?>">
    <jdoc:include type="modules" name="<?php echo $masthead_position ?>" style="FeatureRow" />
    </div>
    <?php endif ?>

    Saguaros Moderator
    #740734

    Hi Felix,

    You can try with this tweak:
    – Go to file: root/templates/purity_iii/tpls/blocks/masthead.php
    – Look for this snippet of code:


    <?php if ($this->countModules ($masthead_position)): ?>
    <jdoc:include type="modules" name="<?php echo $masthead_position ?>" style="FeatureRow" />
    <?php endif ?>

    replace it with:


    <?php if ($this->countModules ($masthead_position)): ?>
    <div id="t3-section" class="wrap sections-wrap <?php $this->_c($masthead_position) ?>">
    <jdoc:include type="modules" name="<?php echo $masthead_position ?>" style="FeatureRow" />
    </div>
    <?php endif ?>

    felix1 Friend
    #575796

    Thanks!
    Now the eye icon appears and when I click on the eye icon it turns red. But after I save, the eye icon go back to default and when I check on my mobile phone, masthead position is still there…

    Whats wrong?

    Felix Rimfrost

    Saguaros Moderator
    #575968

    My bad! I missed to update this line of code:

    <jdoc:include type="modules" name="<?php echo $masthead_position ?>" style="FeatureRow" />

    which should be:

    <jdoc:include type="modules" name="<?php $this->_p($masthead_position) ?>" style="FeatureRow" />

    Saguaros Moderator
    #642297

    My bad! I missed to update this line of code:

    <jdoc:include type="modules" name="<?php echo $masthead_position ?>" style="FeatureRow" />

    which should be:

    <jdoc:include type="modules" name="<?php $this->_p($masthead_position) ?>" style="FeatureRow" />

    Saguaros Moderator
    #740956

    My bad! I missed to update this line of code:

    <jdoc:include type="modules" name="<?php echo $masthead_position ?>" style="FeatureRow" />

    which should be:

    <jdoc:include type="modules" name="<?php $this->_p($masthead_position) ?>" style="FeatureRow" />

    felix1 Friend
    #576043

    Yes! 🙂

    It’s working! Thanks, you’re the best…

    Felix Rimfrost

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

This topic contains 9 replies, has 2 voices, and was last updated by  Saguaros 9 years, 6 months ago.

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