Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • iaweb Friend
    #185638

    If anybody can guide me to creating (or moving an existing module position) on the right of the logo flush on the right … as outlined in the attachment, in MERO, I would highly appreciate it.

    Thanks

    Heiko


    1. need_position
    Ninja Lead Moderator
    #486107

    You can follow my suggestions below

    Open templates/ja_mero/tpls/blocks/header.php file
    from


    <!-- LOGO -->
    <div class="span8">
    <div class="logo logo-<?php echo $logotype ?>">
    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
    </h1>
    </div>
    </div>
    <!-- //LOGO -->

    change to


    <!-- LOGO -->
    <div class="span4">
    <div class="logo logo-<?php echo $logotype ?>">
    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
    </h1>
    </div>
    </div>
    <!-- //LOGO -->
    <?php if ($this->countModules('new_postion')) : ?>
    <div class="span8">
    <jdoc:include type="modules" name="<?php $this->_p('new_postion') ?>" style="raw" />
    </div>
    <?php endif ?>

    Open templates/ja_mero/templateDetails.xml file
    find

    <position>head-search</position>
    change to


    <position>head-search</position>
    <position>new_postion</position>

    iaweb Friend
    #486917

    Thanks for this, it comes very close, but not 100%, as this puts the position below the Logo and not next to it…

    Anything I missed on this?

    Really appreciate the help.

    Heiko

    Ninja Lead Moderator
    #486961

    Don’t worry about that i shall help you out of it. Please pm me url, admin access and ftp account on your site

    iaweb Friend
    #486984

    Just sent you the info by PM, thanks a lot for the help…

    Heiko

    Ninja Lead Moderator
    #487159

    <em>@iaweb 365131 wrote:</em><blockquote>Just sent you the info by PM, thanks a lot for the help…

    Heiko</blockquote>

    I have checked and changed on this file

    Open /templates/ja_mero/tpls/blocks/header.php file

    from


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

    change to


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

    I have published module on header_right position on your site. It’s working as fine, you can check it again.

    iaweb Friend
    #487191

    Hello and thanks a million for the help, just one tiny little extra request, how can I make this new module align to the right? it’s at the moment somehow centered, but I would like it aligned all the way to the right, so it lines up with the other graphics further down…

    Thanks again for all the help and sorry if I am a pest…

    Heiko

    Ninja Lead Moderator
    #487296

    Here you go

    Open /templates/ja_mero/tpls/blocks/header.php file

    and configured to change css class on file

    from


    <!-- HEADER -->
    <header id="ja-header" class="wrap ja-header">
    <div class="container">
    <div class="row">

    <!-- LOGO -->
    <div class="span4">
    <div class="logo logo-<?php echo $logotype ?>">
    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
    </h1>
    </div>
    </div>
    <!-- //LOGO -->
    <?php if ($this->countModules('header_right')) : ?>
    <div class="span7">
    <jdoc:include type="modules" name="<?php $this->_p('header_right') ?>" style="raw" />
    </div>
    <?php endif ?>
    </div>
    </div>
    </header>
    <!-- //HEADER -->

    change to


    <!-- HEADER -->
    <header id="ja-header" class="wrap ja-header">
    <div class="container">
    <div class="row-fluid">

    <!-- LOGO -->
    <div class="span4">
    <div class="logo logo-<?php echo $logotype ?>">
    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
    </h1>
    </div>
    </div>
    <!-- //LOGO -->
    <?php if ($this->countModules('header_right')) : ?>
    <div class="span8">
    <jdoc:include type="modules" name="<?php $this->_p('header_right') ?>" style="raw" />
    </div>
    <?php endif ?>
    </div>
    </div>
    </header>
    <!-- //HEADER -->

    Let me know the result

    iaweb Friend
    #487602

    works perfectly now, thank you very much…

    Heiko

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

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

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