Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • haasfabian Friend
    #187829

    Hi Folks,
    I just changed my template.css for the main-bg.png to “fixed” because I want to have a full screen fixed background. Here the extract from the template.css:

    /* Main background —*/
    #ja-full-bg .main-background {
    background: url(../images/main-bg.png);
    background-attachment: fixed;
    }

    The background is fixed now, but not full screen. On the top area I have a white background (see attached screenshot). What is wrong here?

    And, if I want to have a different image for different pages, how can I do that?

    Thanks in advance for your help!!

    BR,
    Fabian


    1. Snap-2013-05-29-at-12.44.09
    Luna Garden Moderator
    #494565

    Hello,

    Please change your code to:

    body#bd #ja-wrapper{
    background: url(../images/main-bg.png);
    background-attachment: fixed;
    }

    haasfabian Friend
    #494711

    got it, thank you!

    but there are two more problems. now this background setting is only applicable for the home page. how can I assign that to all pages?

    or, how do I assign different background images to different pages?

    thanks in advance.

    br,
    fabian

    Luna Garden Moderator
    #494786

    Hello Fabian,

    I have clear T3 cache, now the background is applied for all page.

    If you want to assign different background to different pages, go to menu item of each page, add class suffix. For example, I added Page class to Typo page as this capture
    Then go to file
    templates/ja_mixmaz/css/template.css
    add these lines


    #bd.body_pagetypo #ja-wrapper{
    background: url(../images/typo-bg.png);
    }

    haasfabian Friend
    #494966

    Great – thank you all for your support..!! 🙂

    BR,
    Fabian

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

This topic contains 5 replies, has 2 voices, and was last updated by  haasfabian 10 years, 11 months ago.

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