This topic has 10 replies, 2 voices, and was last updated 7 years, 10 months ago ago by 8theme
Hi,
we would love to change the color of the sidebar and add a padding and maybe a border/frame. As we could not find to change it through the theme options we need a little help to do it vie CSS.
See a sample page here: https://www.firstbeautyspa.at/pro-contra-permanent-make-up/
Can you help us with the code to add please.
Hello,
You can use the following CSS snippet to change the background for sidebar
.sidebar {
background: #efefef;
padding:20px;
}
Regards
Oh, that simple 🙂 … perfect, many thanks.
Yes, you are welcome 🙂
Hi Berg,
one more thing about the sidebar. The behavior on tablets is not really satisfying.
Wenn you check the blogpost on a tablet or just resize the browser window you see that the sidebar moves to the bottom of the page before the prefooter. So far that is fine.
But the arrangement of the sidebar elements is not looking nice. The picture is way to large and the text gets split into to parts with different positions.
It would be fantastic to have the image smaller and on the left with all of the text and the signature on the right … side by side. Is here a way to get this solved? Maybe just use a smaller image for the author?
At the moment we just use the author block, but there will be other elements like recent posts, etc. added later when we have more content.
Many thanks for your great support do far.
Try to fix sidebar size with the following CSS trick
.sidebar {
max-width: 400px;
}
Regards
Many thanks, but this change does not achieve what we wanted to.
We also tried to change the picture to a smaller one and to to split the content into several blocks instead of all in one. Nothing worked.
Is there a way to to change the order/arrangement of the blocks inside of the sidebar. It would be just amazing to have the text beside the picture on a tablet instead of below.
Sorry for bothering you so much and many thanks for your support so far.
Sorry, but it is not possible to change their order on tablet with CSS
Many thanks anyway. We found a solution with creating a table with VC and copied the code in a text widget … problem solved!
We are glad that you have found a solution.
The issue related to '‘Sidebar background color?’' has been successfully resolved, and the topic is now closed for further responses