Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • art3 Friend
    #201513

    Hello, 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.


    1. images-masshead
    2. id-menu-masshead
    3. modulo-masthead
    4. about-us-masthead
    Ninja Lead Moderator
    #550459

    My 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>

    art3 Friend
    #550512

    Perfect, thank you very much, a simple and perfect solution.

    Thank you !!!

Viewing 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