-
AuthorPosts
-
January 6, 2018 at 12:04 pm #894039
Is It Possible Insert The SideBar on The Right or On The Left In The Page and have the page background?
ThanksJanuary 6, 2018 at 7:07 pm #894175Hey denisj77,
I’m not sure I understand, do you mean have a image background span the whole page and behind the sidebar, or have a background color? Can you include a screenshot of what you would like to see?Best regards,
MikeJanuary 6, 2018 at 9:28 pm #894210The First, I mean have a image background span the whole page and behind the sidebar.
ThanksJanuary 6, 2018 at 10:10 pm #894223Hi,
Yes you can with this css:#main .container_wrap { background-image: url(https://your-site.com/your_image.jpg) !important; }
Best regards,
MikeJanuary 6, 2018 at 10:45 pm #894237Ok, I Work in Enfold-child, where should I enter the css code?
Thanks very MuchJanuary 6, 2018 at 10:55 pm #894240Hi,
You can Try this code in the General Styling > Quick CSS field
or in the child theme style.css in Appearance > EditorBest regards,
MikeJanuary 7, 2018 at 11:16 am #894312Ok, But How Can I Have My Sidebar in A Color Section?
Or, How Can I Create a Page with Overlay Image With Text and Sidebar Togheter?
Here my page : https://residenzeparadiso.com/test-prenota/
ThanksJanuary 7, 2018 at 3:57 pm #894360Hi,
Here are two options, Try this code in the General Styling > Quick CSS field for a background-image:#top.page-template-default.page.stretched #main .container { background-image: url(https://residenzeparadiso.com/wp-content/uploads/2017/12/chaplet-2489637_1920.jpg); background-repeat: repeat; }
But if you want opacity on your image, try this one:
#top.page-template-default.page.stretched #main .container:before { content: ' '; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.2; background-image: url(https://residenzeparadiso.com/wp-content/uploads/2017/12/chaplet-2489637_1920.jpg); background-repeat: repeat; }
If you want this only on one page let us know and we can help add the page_id to the code.
Best regards,
MikeJanuary 8, 2018 at 11:42 am #894657I tried the second code and it works perfectly, I Want this only on one page, Can You Help Me To add the page_id to the code?
Another Question, how can I adapt the image to the whole page? In My case the image is shot several times….
-https://residenzeparadiso.com/test-prenota/-
Thanks- This reply was modified 6 years, 10 months ago by denisj77.
January 8, 2018 at 11:53 am #894664Hi,
I have changed the code so it will only work on the one page, and so it won’t repeat the image.#top.page-id-614 #main .container:before { content: ' '; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.2; background-image: url(https://residenzeparadiso.com/wp-content/uploads/2017/12/chaplet-2489637_1920.jpg); background-repeat: no-repeat; background-size: cover; }
Best regards,
MikeJanuary 8, 2018 at 12:44 pm #894684Ok, if I want to create other pages with that style and Other Image, Where is the Value to Change?
If the Value is “Id Number” Where Can I Found It in My Pages?
Thanks- This reply was modified 6 years, 10 months ago by denisj77.
January 8, 2018 at 1:06 pm #894693Another Question, If I Insert A Color Section on The Top Of The Page, I get Inside The Image of The Code, How Can I Delete It? Thanks
Example: https://residenzeparadiso.com/test-prenota/
Here on The Top I Have Inserted a empty color section.
ThanksJanuary 8, 2018 at 1:31 pm #894700Hi,
Try setting a background color for the color section, by default it is transparent.Best regards,
MikeJanuary 8, 2018 at 1:35 pm #894701Already Tried… Here the Result:
-https://residenzeparadiso.com/test-prenota/-
ThanksJanuary 8, 2018 at 1:42 pm #894702Hi,
To use the code on other pages, change the “.page-id-614” to those pages. To find the page id, open the developer tools by right clicking on the page and choosing “inspect” then look in the code at the top:
see this image: https://pictr.com/image/8h3C9
There are also plugins that will show you the page id’s, such as: Reveal IDs
You can add many pages to the code with commas like this:#top.page-id-614 #main .container:before,#top.page-id-615 #main .container:before,#top.page-id-616 #main .container:before {
Best regards,
MikeJanuary 8, 2018 at 7:55 pm #894886With your Code in Test in Smartphone or Desktop Computer I I saw that the background image is not responsive and I have edges on the sides on the Pages…
#top.page-id-614 #main .container:before {
content: ‘ ‘;
display: block;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1;
opacity: 0.2;
background-image: url(https://residenzeparadiso.com/wp-content/uploads/2017/12/chaplet-2489637_1920.jpg);
background-repeat: no-repeat;
background-size: cover;
}January 9, 2018 at 3:26 am #895055Hi,
For the desktop please go to: Enfold Theme Options > General Layout > Dimensions > Maximum Container width
and change it to 2500px.
Then for mobile try the css:@media only screen and (max-width: 767px) { .responsive #top #wrap_all .container { width: 100%!important; max-width: 100%!important; padding-left: 25px!important; padding-right: 25px!important; }}
Best regards,
MikeJanuary 9, 2018 at 10:05 pm #895384Ok now Works good in all Device, The Last Problem, I have the image as a background even in the socket…
Thanks- This reply was modified 6 years, 10 months ago by denisj77.
January 10, 2018 at 12:55 am #895454Hi,
Sorry, the socket is a different div, we can add the image to the socket but it will be a clear start of a new image. I recommend keeping the socket a solid color to define the end of the site.Best regards,
MikeJanuary 10, 2018 at 6:17 pm #895766Hi, In my Socket I Have Defined a Solid Color: #ffffff …. But I Have The Image…
If I Can Change Color Work. How Can I Have Solid White?
ThanksJanuary 11, 2018 at 3:13 am #895943Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
MikeJanuary 11, 2018 at 2:26 pm #896170This reply has been marked as private.January 12, 2018 at 2:27 am #896379Hi,
Oh, I see the issue now, I solved with this css in your custom css:#top.page-template-default.page.stretched #socket .container:before { background-image: url(https://residenzeparadiso.com/wp-content/uploads/2018/01/whitebackground.png) !important; background-repeat: repeat; }
I designed it to match the rules for your background image, Please clear your browser cache and check.
Best regards,
MikeJanuary 12, 2018 at 11:45 am #896533Perfect, It’s All Ok.
ThanksJanuary 12, 2018 at 12:34 pm #896549 -
AuthorPosts
- The topic ‘Sidebar with page background’ is closed to new replies.