Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Anthony Martin Friend
    #203050

    Hi,

    The JA Masshead Module supports code in the configuration conditions, as per your guide (http://www.joomlart.com/documentation/joomla-module/ja-masshead), I can see how I can change the image URL, but how can I just swap the image url, for a background colour, I can’t figure out how this works? It looks like a CSS override, but I don’t know how to force it to just update colour for the background, and not images

    So, your guide shows

    [Masshead Itemid=”page_id” title=”Title” background=”image url”]Description[/Masshead]

    but i;d like to do something like:

    [Masshead Itemid=”page_id” title=”Title” background-colour=”#ff00ff”]Description[/Masshead]

    How do I do that please?

    Thanks

    pavit Moderator
    #556511

    Hi
    you can override the background for masshead inside custom.css file

    ja-masshead {

    background: #ff00ff!important
    }

    and remove background setting inside module configuration

    Anthony Martin Friend
    #556520

    Thanks Pavit

    I guess I was being hopeful that it could be done through the module config, I’m trying to create a different colour per menu item or at least for each area of the site, so was trying to use one module, but I guess it’s better then to, create a module for each menu item and create a module suffix cad style for each. Is that the only way of working with masshead for colours?

    pavit Moderator
    #556521

    Hi

    Yes i think could be better for you to create custom module suffixes and apply every single suffix to the specific module assigned to the specific page

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

This topic contains 4 replies, has 2 voices, and was last updated by  pavit 10 years ago.

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