Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • arthurjohnston Friend
    #892719

    Within the "Home" Menu I am using "home" as a "page class" and within another menu I am using "forum" as a page class.

    When using the following in custom.css. It displays properly on the Home Page.
    .home body { background-image: url("/images/body_bg.jpg") !important; background-repeat:repeat; }

    Although, when using the following it does not display upon either page:

    .home .logo body { background-image: url("/images/body_bg.jpg") !important; background-repeat:repeat; }

    Any suggestions how I can have the background appear on both pages?

    Pankaj Sharma Moderator
    #892728

    Although, when using the following it does not display upon either page:

    .home .logo body { background-image: url("/images/body_bg.jpg") !important; background-repeat:repeat; }

    As there is no class in .logo home it does not work . You should apply nly
    body { background-image: url("/images/body_bg.jpg") !important; background-repeat:repeat; }
    to apply bg image on all other pages . Home class is only for the homepage .

    arthurjohnston Friend
    #892744

    My apologies, I should have typed: .home .forum body {….}

    Pankaj Sharma Moderator
    #892755

    Do u still need help in this case ?

    arthurjohnston Friend
    #892759

    Yes, please. I wish to confine the background to only two (2) pages.

    Thank you,

    Pankaj Sharma Moderator
    #892764

    Hi
    Use this code in custom.css file

    .itemid-1200 body { background-image: url("/images/body_bg.jpg") !important; background-repeat:repeat; }

    change the id 1200 with the menu item id where u want to apply the bg image .

    arthurjohnston Friend
    #893255

    Thank you! Solved the issue.

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

This topic contains 6 replies, has 2 voices, and was last updated by  arthurjohnston 8 years, 9 months ago.

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