Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • anish28 Friend
    #1112092

    Hello i would like to know how to modify the article page as i want to display an image in the background and the content in a white background. I want to display different images for different pages( articles).

    Saguaros Moderator
    #1112252

    Hi,

    To style a unique image as background for a page, you will add background via CSS by the page class / page ID of that page.

    In this case, if you want to add background for each article, each article will be a menu item page, I’m afraid this will not be ideal.

    You will need to customize / use custom script to load full image of article (for example) and add backgroud for that article page.

    Regards

    anish28 Friend
    #1112256

    Can you give me an example

    Saguaros Moderator
    #1112345

    Hi,

    For example:

    .view-article.itemid-483 .t3-mainbody {
        background: url('/path/to/your/image/here') no-repeat;
    }

    483 is ID of that menu item page.

    anish28 Friend
    #1112361
    This reply has been marked as private.
    Saguaros Moderator
    #1112422
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 5 replies, has 2 voices, and was last updated by  Saguaros 9 months ago.

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