test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • romello Friend
    #200432

    Hello Forum,

    Can someone please provide a few more details about how to remove the color element and add a background image to the JA Masthead module in JA Surgite. I’ve reviewed the documentation…still not quite clear.

    1. I’ve uploaded an image and changed the url in the module…. but nothing changes on front-end display.

    A. An example link and suggested folder would be helpful…
    B. And regarding the image link is there a particular syntax that should used for Ja Masthead?
    C. What’s the recommended size for a Ja Surgite Masthead image? Does it matter?

    (Please give an example for the image url below)

    [Masshead Itemid=”532″ title=”Bonus Pages” background=”image url”]Yor description[/Masshead]

    Thanks in advance,

    R

    TomC Moderator
    #545545

    So that we can try to best assist you, please provide the url of the site you’re working on.

    Also, what is the image you are wanting to use as a background image?

    romello Friend
    #545558

    Hello Tom,

    Thank you for the quick reply. Here’s a screen shot: http://easycaptures.com/fs/uploaded/823/2601272437.png

    1. You’ll see a light blue ja masthead module at the top of this page with the text, “Our Services.”

    A. In firebug I can find the css code to change the color of the module. However, I want to add an image on that module.

    2. I’ve uploaded an image and changed the url in the module…. but nothing changes on front-end display. perhaps I’m making a mistake.

    B. Is there a particular syntax that should used for Ja Masthead images on the Ja Surgite template?

    C. This is how the code looks in the module. (Please provide an example of how you would write the code for the “image url” below) and I think I can figure the rest out.

    [Masshead Itemid=”532″ title=”Our Services” background=”image url”]Your description[/Masshead]

    Best regards,

    R

    Latest version of Ja Surgite
    Joomla 3+

    TomC Moderator
    #545561

    Are you able to provide the url of the site you’re working on?

    romello Friend
    #545572

    Hello Yes, excuse me,

    Here’s the url: http://192.185.102.145/~boneyfie

    Ninja Lead Moderator
    #545585

    This way will help you to add the background in JA Masshead module

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

    Change

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

    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; ?>>

    + Go to Admin site -> find JA Masshead module and add the background in module

    [Masshead Itemid="549" title="Our Services" background="images/joomlart/slideshow/sl1-first.png"]Yor description[/Masshead]

    Let me know if it helps

    romello Friend
    #545768

    Hi Tom,

    1. The suggested code changes mentioned above do not work for me. With the code changes the new masthead image still does not display.

    2. With the changes there’s now just a line of exposed code: you can view it here: http://192.185.102.145/~boneyfie/

    3. Can you also tell me where the height and width of the masthead image is rendered?

    thanks,

    R

    Ninja Lead Moderator
    #545771

    There might be something wrong with the templates/ja_sugite/html/mod_jamasshead/default.php file.

    Please download and extract my attached file and override your templates/ja_sugite/html/mod_jamasshead/default.php file.


    1. default.zip
Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 3 voices, and was last updated by  Ninja Lead 10 years, 4 months ago.

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