-
AuthorPosts
-
richnyc30 Friend
richnyc30
- Join date:
- June 2011
- Posts:
- 105
- Downloads:
- 31
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
March 27, 2014 at 7:17 pm #196228I’d like to have an image file (backgroundimage.png) appear on all pages and places.
I see other templates in forum queries but none for Argo template.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 28, 2014 at 9:16 am #528450Changes suggested below will help you touch the background for all pages
Open templates/ja_argo/less/core.less file and change with my mark
Change
body {
background-color: @BodyBackground;
color: @textColor;
font-family: @BaseFontFamily;
font-size: @BaseFontSize;
line-height: @BaseLineHeight;
margin: @navbarHeight 0 0;
}
To
body {
background-image:url("backgroundimage.png");
color: @textColor;
font-family: @BaseFontFamily;
font-size: @BaseFontSize;
line-height: @BaseLineHeight;
margin: @navbarHeight 0 0;
}
richnyc30 Friendrichnyc30
- Join date:
- June 2011
- Posts:
- 105
- Downloads:
- 31
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
March 28, 2014 at 5:29 pm #528520Tried this:
background-image:url(/images/Background/star-bckground.png”);
The background went to white with no background image. I am using the Dark variant of the template and the background should be at least black.
The image will appear using http://www.variableangles.com/images/Background/star-bckground.png on the browser.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 31, 2014 at 8:16 am #528736With the Dark variant of the template, you can try workaround below:
Open the templates/ja_argo/css/custom.css file and add declaration below:
body {
background-image: url(/images/Background/star-bckground.png);
}If you still need help on this, you can PM me admin login of your site, I will help you out.
richnyc30 Friendrichnyc30
- Join date:
- June 2011
- Posts:
- 105
- Downloads:
- 31
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
March 31, 2014 at 3:34 pm #528803The trick is the dark template.css.
Editing file “/css/themes/dark/template.css” in template “ja_argo”.
I put the below code at the end of hte template.css and it works.
body {
background-image: url(/images/Background/star-bckground.png);
}Thanks,
Richardrichnyc30 Friendrichnyc30
- Join date:
- June 2011
- Posts:
- 105
- Downloads:
- 31
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
March 31, 2014 at 3:37 pm #528804Maybe I was wrong. I deleted the code in custom and the background disappeared. Maybe the cache needed catching up.
1 user says Thank You to richnyc30 for this useful post
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 1, 2014 at 9:25 am #528944Awesome! I’m glad you find the way out. I see it’s working fine with the background defined in the custom.css file.
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by Ninja Lead 10 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum