Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • hanti Friend
    #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 Moderator
    #561220

    Hi 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.

    hanti Friend
    #563434

    I tried but I did not have any results…
    Please help me, I sent you a private message with the data.

    Thank you!

    Saguaros Moderator
    #563492

    Hi hanti,

    The masshead background image is showing fine, kindly take a look:


    1. massheadBg
    hanti Friend
    #563637

    Hi 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 Moderator
    #563706

    Hi 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]

    hanti Friend
    #563817

    Hi 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 Moderator
    #563884

    Hi 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.

    hanti Friend
    #563984

    Unfortunately 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 Moderator
    #564345

    I added a bit style css for this masshead in the file: /templates/ja_hawkstore/css/custom.css

    .t3-content .t3-masshead .jamasshead {
    height: 160px;
    }

    and it’s showing now.

    hanti Friend
    #564465

    Thank you!!! 😀

Viewing 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