-
AuthorPosts
-
March 28, 2015 at 4:53 am #205087
I would like to insert a bacgkground image for my magazine layout. How do I achieve this.
I would like to remove the background image from my events layout.
Thanks in advance.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 30, 2015 at 9:13 am #565047My solution below will help you to do that
+ Create templates/ja_teline_v/css/custom.css file
+ Remove background image in events layout by add new css style
.layout-events body {
background: none;
}
+ Add new background image into magazine layout by add new css style
.t3-wrapper {
background: transparent;
}
.layout-events body {
background: url(../images/ev-bg.jpg) no-repeat fixed center top #0077bb ;
background-size: 100%;
}
sobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
March 30, 2015 at 4:29 pm #565095<em>@Ninja Lead 466097 wrote:</em><blockquote>My solution below will help you to do that
+ Create templates/ja_teline_v/css/custom.css file
+ Remove background image in events layout by add new css style
.layout-events body {
background: none;
}
+ Add new background image into magazine layout by add new css style
.t3-wrapper {
background: transparent;
}
.layout-events body {
background: url(../images/ev-bg.jpg) no-repeat fixed center top #0077bb ;
background-size: 100%;
}
</blockquote>There’s a few errors with the solution above, including:
1) The code to add the new background image into magazine should be ” .layout-magazine body { ” and not ” .layout-events body { ”
2) Once the background image is posted, the white background in the content block becomes transparent and impossible to read content. Is there a way to prevent this?
3) How does one make the logo layout similar to the events-page (meaning, centered)?
ssinha Friendssinha
- Join date:
- July 2014
- Posts:
- 183
- Downloads:
- 57
- Uploads:
- 11
- Thanks:
- 68
- Thanked:
- 12 times in 1 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 31, 2015 at 7:50 am #565170@sobe: I agree with you .layout-magazine on magazine layout.
.t3-wrapper {
background: transparent;
}
.layout-magazine body {
background: url(../images/ev-bg.jpg) no-repeat fixed center top #0077bb ;
background-size: 100%;
}You know, magazine and events layouts use different css style and it’s not easy to work as well when you change the background layout between both layouts, you will spend a lot of time to change the css style on your site.
-
AuthorPosts
This topic contains 5 replies, has 4 voices, and was last updated by Ninja Lead 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum