Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • hbic Friend
    #683269

    http://162.242.220.38/joomla/index.php/what-is-rc21x/for-clinicians

    I am using app-home for most pages, but I am also using a default layout that includes ‘component’ in it’s layout for pages that display articles. Above I’ve pasted a page that I am using with a Hero Style 1. The picture shows in a 4:3 ratio appearance and I’m using a default layout. How can I change this ratio to fill the entire screen as it does in my other pages that use a different layout/profile?

    Saguaros Moderator
    #683665

    Hi hbic,

    You’re assigning this Hero module into a block called submenu which included all of its content into a container so that it didn’t show entire screen.

    I just edited in the file: root/templates/uber (your default template)/tpls/blocks/submenu.php and replaced:


    <?php if ($this->countModules('submenu')) : ?>
    <div class="wrap ja-submenu <?php $this->_c('submenu') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('submenu') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    with:


    <?php if ($this->countModules('submenu')) : ?>
    <div class="wrap ja-submenu <?php $this->_c('submenu') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('submenu') ?>" style="raw" />
    </div>
    <?php endif ?>

    You can see that it displays fully now.

    Have a nice day!!!

    Saguaros Moderator
    #748423

    Hi hbic,

    You’re assigning this Hero module into a block called submenu which included all of its content into a container so that it didn’t show entire screen.

    I just edited in the file: root/templates/uber (your default template)/tpls/blocks/submenu.php and replaced:


    <?php if ($this->countModules('submenu')) : ?>
    <div class="wrap ja-submenu <?php $this->_c('submenu') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('submenu') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    with:


    <?php if ($this->countModules('submenu')) : ?>
    <div class="wrap ja-submenu <?php $this->_c('submenu') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('submenu') ?>" style="raw" />
    </div>
    <?php endif ?>

    You can see that it displays fully now.

    Have a nice day!!!

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

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

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