Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • mazhar shah Friend
    #151636

    I need to place a large background image at the back of the template so it appears on either side of the main content pages. Only need to do ths on SELECTED pages linked to itemid. So I created a new template for that page (item id 162).

    i created a new template default_dark_blue, and a new css, and then put 162=default_dark_blue in the admin – template overwrite . Placed link in new template to the new css. Also placed the following code on the new css:

    #ja-container {
    border: 0px;
    background-color: #ADD8E6 !important; }

    this DOES colour the background of the linked page and works well.

    HOWEVER, if i replace the background-color: #ADD8E6 !important; with backgound image it doenst work.

    How can i put a background image on that page?

    uniquebiz Friend
    #346200

    maz001;181779I need to place a large background image at the back of the template so it appears on either side of the main content pages. Only need to do ths on SELECTED pages linked to itemid. So I created a new template for that page (item id 162).

    i created a new template default_dark_blue, and a new css, and then put 162=default_dark_blue in the admin – template overwrite . Placed link in new template to the new css. Also placed the following code on the new css:

    #ja-container {
    border: 0px;
    background-color: #ADD8E6 !important; }

    this DOES colour the background of the linked page and works well.

    HOWEVER, if i replace the background-color: #ADD8E6 !important; with backgound image it doenst work.

    How can i put a background image on that page?

    You can’t use a background css colour call to pull in a background image it has to be declared as a background: urlpath to background etc

    we’ll look at the css for the dark-blue theme in ores to call and place the logo as an example

    h1.logo a { background: url(../../images/blue/logo.png) no-repeat left; }

    Call your background in much the same way, using a no repeat as it’s a full size graphic? placed at left position. make the call top; left; to hang it at the top cnr

    Hope this helps
    Blessings Shannon

    mazhar shah Friend
    #346202

    much obliged. thank you, that worked.

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

This topic contains 3 replies, has 2 voices, and was last updated by  mazhar shah 14 years, 5 months ago.

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