-
AuthorPosts
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 27, 2017 at 2:14 am #1076814Hi
At this time all the blocks on your site using full width.
So the same effect can not possible. But in Each block settings, you have the option to add the background image.
In order to get one image for all the blocks, first, you have to open each block and set the container width to default or a lower one so you will get space left and right side.
After this, you can apply custom CSS on the body class to add an image.Regards
romolo Friendromolo
- Join date:
- August 2012
- Posts:
- 585
- Downloads:
- 97
- Uploads:
- 37
- Thanks:
- 79
- Thanked:
- 23 times in 11 posts
December 1, 2017 at 8:50 am #1078233This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 1, 2017 at 9:04 am #1078238At this time all the blocks on your site using full width.
So the same effect can not possible. But in Each block settings, you have the option to add the background image.
In order to get one image for all the blocks, first, you have to open each block and set the container width to default or a lower one so you will get space left and right side.
After this, you can apply custom CSS on the body class to add an image.Kindly check my previous suggestion.
In builder blocks you can add the background image, but if you want it like on example site.
Kindly change the width of blocks from each block options and use below code in custom css block.wrapper { background: url(/images/logo.png); }
Change the image path with your image path.
Do not forget to change the size of each block before adding the code in custom css block.
Regards
romolo Friendromolo
- Join date:
- August 2012
- Posts:
- 585
- Downloads:
- 97
- Uploads:
- 37
- Thanks:
- 79
- Thanked:
- 23 times in 11 posts
December 1, 2017 at 9:19 am #1078245Hi @pankaj Sharma,
Thank you for your response and custom css.
We have updated the image path and applied this to the custom css (on all pages), however it doesn’t seem to have worked…
Please see screenshot attached in the following private post.
Please advise.
Many thanks
romolo Friendromolo
- Join date:
- August 2012
- Posts:
- 585
- Downloads:
- 97
- Uploads:
- 37
- Thanks:
- 79
- Thanked:
- 23 times in 11 posts
December 1, 2017 at 9:20 am #1078248This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 1, 2017 at 10:48 am #1078274Hi
use this code.wrapper { background: url(/images/background/elderholme_bg.png) !important; padding-left: 100px; padding-right: 100px; }
Also check the link of image, at this time its showing 404
Regards
1 user says Thank You to Pankaj Sharma for this useful post
romolo Friendromolo
- Join date:
- August 2012
- Posts:
- 585
- Downloads:
- 97
- Uploads:
- 37
- Thanks:
- 79
- Thanked:
- 23 times in 11 posts
December 1, 2017 at 11:05 am #1078281Hi @Pakaj Sharma,
That worked a treat – many thanks 🙂
Please refresh the link and you will see it working.Thanks again
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 4, 2017 at 1:44 am #1078500You are welcome!
romolo Friendromolo
- Join date:
- August 2012
- Posts:
- 585
- Downloads:
- 97
- Uploads:
- 37
- Thanks:
- 79
- Thanked:
- 23 times in 11 posts
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 7, 2017 at 9:15 am #1079616Hi
Replace the older code with this code in custom.css file so it will not work in the mobile view@media(min-width:468px) {.wrapper { background: url(/elderholme.co.uk/images/background/elderholme_bg.png) !important; padding-left: 100px; padding-right: 100px; }}
Regards
1 user says Thank You to Pankaj Sharma for this useful post
-
AuthorPosts
This topic contains 11 replies, has 2 voices, and was last updated by romolo 6 years, 11 months ago.
The topic ‘Background image behind blocks and pages’ is closed to new replies.