-
AuthorPosts
-
romello Friend
romello
- Join date:
- February 2008
- Posts:
- 68
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 21
- Thanked:
- 6 times in 1 posts
August 11, 2014 at 9:35 pm #200432Hello 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 ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
romello Friendromello
- Join date:
- February 2008
- Posts:
- 68
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 21
- Thanked:
- 6 times in 1 posts
August 12, 2014 at 1:45 am #545558Hello 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 ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
romello Friendromello
- Join date:
- February 2008
- Posts:
- 68
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 21
- Thanked:
- 6 times in 1 posts
August 12, 2014 at 3:04 am #545572Hello Yes, excuse me,
Here’s the url: http://192.185.102.145/~boneyfie
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 12, 2014 at 4:29 am #545585This 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
1 user says Thank You to Ninja Lead for this useful post
romello Friendromello
- Join date:
- February 2008
- Posts:
- 68
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 21
- Thanked:
- 6 times in 1 posts
August 13, 2014 at 3:34 am #545768Hi 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 13, 2014 at 3:42 am #545771There 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 user says Thank You to Ninja Lead for this useful post
-
AuthorPosts
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