Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • smartmax Friend
    #192234

    I’d like to use the ‘Masshead-module’ in this template
    and I position it on position: ‘position_1’.

    But now the images don’t show I have made for this module.

    Is this not possible in this template? Or could I make a modification some where?

    Many thanks in advance 🙂

    http://www.applicatietechniekvanderwal.nl/nieuw/vloeren


    1. Schermafbeelding-2013-11-13-om-13.44.07
    Ninja Lead Moderator
    #512441

    If you would like to load image in JA Masshead module of JA Mitius Template, you need to little bit customize the layout JA Masshead module as following

    + Create mod_jamasshead folder into templates/ja_mitius/html folder

    + Create default.php file into templates/ja_mitius/html/mod_jamasshead folder

    + Open default.php file and add new script as below


    <?php
    /**
    * $JA#COPYRIGHT$
    */

    defined('_JEXEC') or die('Restricted access');
    ?>
    <div class="jamasshead contact-page<?php echo $params->get('moduleclass_sfx','')?>" <?php if(isset($masshead['params']['background'])): ?> style="background-image: url(<?php echo $masshead['params']['background'] ?>)" <?php endif; ?>>
    <h3 class="jamasshead-title"><?php echo $masshead['title']; ?></h3>
    <div class="jamasshead-description"><?php echo $masshead['description']; ?></div>
    </div>

    Let me know if it helps

    smartmax Friend
    #512876

    WAUW, this is realy great. You know really a lot!

    Almost, almost…

    De image itself is higher (no black above and beneath)
    http://www.applicatietechniekvanderwal.nl/nieuw/vloeren

    175px high


    1. Schermafbeelding-2013-11-20-om-17.01.55
    Ninja Lead Moderator
    #512977

    You need to change little some css style on your site

    Open nieuw/templates/ja_mitius/css/themes/blue/template.css file

    from

    .ja-sl-1 .container {
    background: #111;
    border-top: solid 1px #222;
    padding-top: 30px;
    padding-bottom: 30px;
    }

    Change to

    .ja-sl-1 .container {
    background: #111;
    border-top: solid 1px #222;
    padding-top: 0px;
    padding-bottom: 0px;
    }

    .span12.item-first .jamasshead {
    height: 175px;
    }

    smartmax Friend
    #514097

    YAHOOOOOO!!! Thank you very much!


    1. Schermafbeelding-2013-12-02-om-13.39.38
Viewing 5 posts - 1 through 5 (of 5 total)

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

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