-
AuthorPosts
-
May 29, 2013 at 10:54 am #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
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
June 3, 2013 at 9:45 am #494565Hello,
Please change your code to:
body#bd #ja-wrapper{
background: url(../images/main-bg.png);
background-attachment: fixed;
}1 user says Thank You to Luna Garden for this useful post
June 4, 2013 at 12:14 pm #494711got 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,
fabianLuna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
June 5, 2013 at 4:16 am #494786Hello 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 filetemplates/ja_mixmaz/css/template.css
add these lines
#bd.body_pagetypo #ja-wrapper{
background: url(../images/typo-bg.png);
}1 user says Thank You to Luna Garden for this useful post
June 6, 2013 at 5:16 am #494966Great – thank you all for your support..!! 🙂
BR,
FabianAuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by haasfabian 11 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Fixed background full screen
Viewing 5 posts - 1 through 5 (of 5 total)