Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • freissmann Developer
    #187487

    How can I use background images for Masshead. At module config it says:

    <blockquote>
    Use extra paramaters:

    Extra parameters can put in config as name=”value” and access through variables $masshead[‘params’][‘name’] by overwritting module layout in the template
    Eg:
    [Masshead Itemid=”page_id” title=”Title” background=”image url”]Description[/Masshead]
    Access the param background:
    <div class=”jamasshead” <?php if(isset($masshead[‘params’][‘background’])): ?> style=”background-image: url(<?php echo $masshead[‘params’][‘background’] ?>)” <?php endif; ?>>
    </blockquote>

    In what file do we need to put this code ( <div class…. )
    Thanks for any help!

    Ninja Lead Moderator
    #492865

    In JA Masshead Module doesn’t support to add code ( <div class…. ) your expectation but you can use background image with each item menu, more detail you can reference guideline JA Masshead Module here

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 6 months ago.

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