-
AuthorPosts
-
March 1, 2015 at 11:32 pm #204244
Hi, I would get a different background image for each page.
I tried to write this code but it does not work:<blockquote>[Masshead Itemid=”98″ title=”Audio” background=”/template/ja_hawkstore/images/audio.jpg”][/Masshead]</blockquote>
I always see the same image, how can I fix this?
Thank you!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 2, 2015 at 11:04 am #561220Hi hanti,
Did you try to check out the documentation of this module? http://www.joomlart.com/documentation/joomla-module/ja-masshead
If it still doesn’t work, pls clarify in details of which background image you want to use for which page, I will check it for you.
March 17, 2015 at 2:04 pm #563434I tried but I did not have any results…
Please help me, I sent you a private message with the data.Thank you!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 18, 2015 at 2:37 am #563492March 18, 2015 at 7:51 pm #563637Hi Saguaros, that image could be seen even before your attention…I would come that you would see as a background image that are find at this link: templates/ja_hawkstore/images/masshead/audio.jpg
I would like to understand how to do this so I can change the background image to all pages.Thank you
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 19, 2015 at 7:17 am #563706Hi Hanti,
As we already mention in the documentation of this JA Masthead module (check 4. Use extra parameters section), you can see that if you want to use format with background image, you will update the code a bit:
<div class="jamasshead" <?php if(isset($masshead['params']['background'])): ?> style="background-image: url(<?php echo $masshead['params']['background'] ?>)" <?php endif; ?>>
I just updated for you and you can use format:
[Masshead Itemid="238" title="Using Format 2r" background="images/stories/masshead/mh-5.jpg"]Display Masshead in defined page id = 238 and 499[/Masshead]
March 19, 2015 at 10:29 pm #563817Hi Saguaros, I’m sorry if I insist, but I still do not see the background image I chose…
I put this code in the masshead module:
[PHP][Masshead Itemid=”647″ title=”Audio” background=”templates/ja_hawkstore/images/masshead/audio.jpg”]h[/Masshead][/PHP]
I see the image (only one bar) only if I enter a description, but I do not want to enter a description, I would only see the title and the background image.
Please, could you tell me in detail how can I do?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 20, 2015 at 8:17 am #563884Hi Hanti,
If you don’t want to add description for the masshead in this page, simply don’t add it:
[Masshead Itemid="647" title="Audio" background="templates/ja_hawkstore/images/masshead/audio.jpg"] [/Masshead]
I just change it for you, it looks fine.
March 20, 2015 at 8:04 pm #563984Unfortunately it is not so…I keep seeing the same image!
In the page “audio” I would like to see this: templates/ja_hawkstore/images/masshead/audio.jpg
and not this: /templates/ja_hawkstore/images/masshead-bg.jpg”
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 24, 2015 at 6:48 pm #564465Thank you!!! 😀
AuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 2 voices, and was last updated by hanti 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Masshead background
Viewing 11 posts - 1 through 11 (of 11 total)