-
AuthorPosts
-
smartmax Friend
smartmax
- Join date:
- May 2008
- Posts:
- 538
- Downloads:
- 159
- Uploads:
- 218
- Thanks:
- 72
- Thanked:
- 7 times in 3 posts
November 13, 2013 at 12:49 pm #192234I’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
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 16, 2013 at 10:24 am #512441If 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 Friendsmartmax
- Join date:
- May 2008
- Posts:
- 538
- Downloads:
- 159
- Uploads:
- 218
- Thanks:
- 72
- Thanked:
- 7 times in 3 posts
November 20, 2013 at 4:10 pm #512876WAUW, 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/vloeren175px high
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 21, 2013 at 10:12 am #512977You 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 Friendsmartmax
- Join date:
- May 2008
- Posts:
- 538
- Downloads:
- 159
- Uploads:
- 218
- Thanks:
- 72
- Thanked:
- 7 times in 3 posts
December 2, 2013 at 12:41 pm #514097AuthorPostsViewing 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
Jump to forum