-
AuthorPosts
-
art3 Friend
art3
- Join date:
- April 2011
- Posts:
- 146
- Downloads:
- 81
- Uploads:
- 65
- Thanks:
- 96
- Thanked:
- 26 times in 4 posts
September 22, 2014 at 2:44 pm #201513Hello, I have problems with the masthead.
I can not do the Masthead (default) operating in masthead in “Single Article Aboutus”.I need to display one image for each different link.
example:
http://ehostperu.com/lcci/about-us
[Masshead Itemid = “473” title = “About Us” background = “images / mass-head / about-us.jpg”] Professionals providing quality service. [/ Masshead]http://ehostperu.com/lcci/about-us/our-history
[Masshead Itemid = “621” title = “Our History” background = “images / mass-head / our-History.jpg”] LCCI, THROUGHOUT time, your best option. [/ Masshead]http://ehostperu.com/lcci/capability
[Masshead Itemid = “618” title = “Capability” background = “images / mass-head / capability.jpg”] phrase for this link [/ Masshead]http://ehostperu.com/lcci/careers
[Masshead Itemid = “619” title = “Careers” background = “images / mass-head / careers.jpg”] phrase for this link [/ Masshead]http://ehostperu.com/lcci/contact
[Masshead Itemid = “489” title = “Contact Us” background = “images / mass-head / contact-us.jpg”] Always at your service. [/ Masshead]I add in Masthead:
http://ehostperu.com/lcci/virgil
[Masshead Itemid = “606” title = “Virgil” background = “images / mass-head / virgil.jpg”] Principal Owner [/ Masshead]It does not work.
Please help with this problem.
I made changes in custom.css ***
Thank you very much.
- Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 23, 2014 at 4:32 am #550459My solution below will help you to solve this bug
Open templates/ja_medicare/html/mod_jamasshead/default.php file
Find and change
<div class="jamasshead<?php echo $params->get('moduleclass_sfx','')?>">
<h3 class="jamasshead-title"><?php echo $masshead['title']; ?></h3>
</div>To
<div class="jamasshead<?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>1 user says Thank You to Ninja Lead for this useful post
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by art3 10 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum