Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • sincerity Friend
    #180797

    Hi,

    I would like to know how to specify background image for a particular view such as “featured” in a component (com_content).

    I want to set a background image only for Featured and Blog view of com_content. I tried it by adding

    [Masshead option="com_content" view="featured" title=" " background="images/masshead/abstract.jpg"][/Masshead]
    .
    It works fine, but the background image is getting loaded above the slideshow in the Home page also, without dark shadow on both sides.

    I think, my problem will be solved if I can set the background image for com_content and selectively disabling loading of that image in the home page which masks the slideshow.

    I can use “display:none” in css after that image get loaded, but the size of that 1270x700px image is around 93kb which will slow down the homepage. So I would like to disable loading that image only for the homepage while using it for com_content.

    Please help,
    Thank you.

    Sherlock Friend
    #467618

    Hi arjunkrishna,

    May I am misunderstanding something but if you do not want that module to display at the homepage just going to the module back-end, there at the Menu Assignment section, you unselect the module for home menu item. It would not display at the homepage aftwards.

    Let me know if that’s not your ideal 🙂

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

This topic contains 2 replies, has 2 voices, and was last updated by  Sherlock 12 years, 2 months ago.

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