-
AuthorPosts
-
tresoar Friend
tresoar
- Join date:
- November 2014
- Posts:
- 203
- Downloads:
- 15
- Uploads:
- 34
- Thanks:
- 35
- Thanked:
- 2 times in 1 posts
July 20, 2015 at 12:58 pm #644322I don’t understand what you mean.
I tried this code in my custom.css body {
color: #414141
font-size: 14px;
line-height: 25px;
background: url(“/images/home-bg.jpg”)
}
That doens’t work. I don’t see an image. If I leave the backgroundcolor out, then my blue background color turns to grey.Firebug shows me this code:
.home-feature {
background: #000 url(“../../../images/home-bg.jpg”) no-repeat scroll center bottom / cover ;
padding: 36px 0;
}It think i have to do something with this code to show this image that I see on the homepage http://swalk.nl/templates/ja_muzic/images/home-bg.jpg on every page.
It’s not about not ‘looking good’, i see no image at all on the other pages then the homepage.
tresoar Friendtresoar
- Join date:
- November 2014
- Posts:
- 203
- Downloads:
- 15
- Uploads:
- 34
- Thanks:
- 35
- Thanked:
- 2 times in 1 posts
July 20, 2015 at 12:58 pm #742955I don’t understand what you mean.
I tried this code in my custom.css body {
color: #414141
font-size: 14px;
line-height: 25px;
background: url(“/images/home-bg.jpg”)
}
That doens’t work. I don’t see an image. If I leave the backgroundcolor out, then my blue background color turns to grey.Firebug shows me this code:
.home-feature {
background: #000 url(“../../../images/home-bg.jpg”) no-repeat scroll center bottom / cover ;
padding: 36px 0;
}It think i have to do something with this code to show this image that I see on the homepage http://swalk.nl/templates/ja_muzic/images/home-bg.jpg on every page.
It’s not about not ‘looking good’, i see no image at all on the other pages then the homepage.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 20, 2015 at 1:09 pm #578032Hi
You have added wrong image path ,
use the below code
body {
color: #414141
font-size: 14px;
line-height: 25px;
background: url("/templates/ja_muzic/images/home-bg.jpg");
background-size: 100%;
}
the image is on repeat , if you will add no-repeat then image will not comes on whole pages due to its size .Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 20, 2015 at 1:09 pm #644323Hi
You have added wrong image path ,
use the below code
body {
color: #414141
font-size: 14px;
line-height: 25px;
background: url("/templates/ja_muzic/images/home-bg.jpg");
background-size: 100%;
}
the image is on repeat , if you will add no-repeat then image will not comes on whole pages due to its size .Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 20, 2015 at 1:09 pm #742956Hi
You have added wrong image path ,
use the below code
body {
color: #414141
font-size: 14px;
line-height: 25px;
background: url("/templates/ja_muzic/images/home-bg.jpg");
background-size: 100%;
}
the image is on repeat , if you will add no-repeat then image will not comes on whole pages due to its size .tresoar Friendtresoar
- Join date:
- November 2014
- Posts:
- 203
- Downloads:
- 15
- Uploads:
- 34
- Thanks:
- 35
- Thanked:
- 2 times in 1 posts
July 20, 2015 at 1:48 pm #578036Thanks. Now I see a background image. Is there a way to show the image on every page except on the homepage because there alreay is a background image?:)
On smaller screens the image must not show. How can I achieve that?tresoar Friendtresoar
- Join date:
- November 2014
- Posts:
- 203
- Downloads:
- 15
- Uploads:
- 34
- Thanks:
- 35
- Thanked:
- 2 times in 1 posts
July 20, 2015 at 1:48 pm #644327Thanks. Now I see a background image. Is there a way to show the image on every page except on the homepage because there alreay is a background image?:)
On smaller screens the image must not show. How can I achieve that?tresoar Friendtresoar
- Join date:
- November 2014
- Posts:
- 203
- Downloads:
- 15
- Uploads:
- 34
- Thanks:
- 35
- Thanked:
- 2 times in 1 posts
July 20, 2015 at 1:48 pm #742960Thanks. Now I see a background image. Is there a way to show the image on every page except on the homepage because there alreay is a background image?:)
On smaller screens the image must not show. How can I achieve that?Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
tresoar Friendtresoar
- Join date:
- November 2014
- Posts:
- 203
- Downloads:
- 15
- Uploads:
- 34
- Thanks:
- 35
- Thanked:
- 2 times in 1 posts
July 20, 2015 at 2:13 pm #578041I will look into the css link.
The code .home body {
background: none;
} doens’t do the job :((tresoar Friendtresoar
- Join date:
- November 2014
- Posts:
- 203
- Downloads:
- 15
- Uploads:
- 34
- Thanks:
- 35
- Thanked:
- 2 times in 1 posts
July 20, 2015 at 2:13 pm #644332I will look into the css link.
The code .home body {
background: none;
} doens’t do the job :((tresoar Friendtresoar
- Join date:
- November 2014
- Posts:
- 203
- Downloads:
- 15
- Uploads:
- 34
- Thanks:
- 35
- Thanked:
- 2 times in 1 posts
July 20, 2015 at 2:13 pm #742965I will look into the css link.
The code .home body {
background: none;
} doens’t do the job :((Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 21, 2015 at 1:17 am #578083HI
I checked it myself it should work . Add the code in custom.css , clear cache and check , BG image will not come on homepage body .
Provide a complete page screenshot if its showing on your end . -
AuthorPosts
This topic contains 35 replies, has 2 voices, and was last updated by tresoar 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum