test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • gio570009 Friend
    #680945

    I am using ja sugite template.
    I can not load image to masshead module only text is shown.
    please explain me how to solve this problem or do it yourself.

    Ninja Lead Moderator
    #681018

    In this case, if you want to show the image into JA Masshead module of JA Sugite template, you have to custom it

    + Open templates/ja_sugite/html/mod_jamasshead/default.php file

    find and change

    <div class="jamasshead<?php echo $params->get('moduleclass_sfx','')?>">

    to

    <div class="jamasshead" <?php if(isset($masshead['params']['background'])): ?> style="background-image: url(<?php echo $masshead['params']['background'] ?>)" <?php endif; ?>>

    + Now, you can add the image background into Configuration Conditions of JA Masshead module

    About the configuration code into Configuration Conditions you can have a look at it for reference here

    Ninja Lead Moderator
    #747159

    In this case, if you want to show the image into JA Masshead module of JA Sugite template, you have to custom it

    + Open templates/ja_sugite/html/mod_jamasshead/default.php file

    find and change

    <div class="jamasshead<?php echo $params->get('moduleclass_sfx','')?>">

    to

    <div class="jamasshead" <?php if(isset($masshead['params']['background'])): ?> style="background-image: url(<?php echo $masshead['params']['background'] ?>)" <?php endif; ?>>

    + Now, you can add the image background into Configuration Conditions of JA Masshead module

    About the configuration code into Configuration Conditions you can have a look at it for reference here

    gio570009 Friend
    #681448

    it works, thank you !

    gio570009 Friend
    #747374

    it works, thank you !

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

This topic contains 5 replies, has 2 voices, and was last updated by  gio570009 9 years, 3 months ago.

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