-
AuthorPosts
-
September 11, 2014 at 9:52 pm #317649
I’m trying to have the sidebar area be entireley white, but am unable to figure out how to do so. Would you please provide me with coding that makes the area to the right of the horizontal border white?
Thank you so much!
September 11, 2014 at 10:03 pm #317655Hi hobeadmin!
Please try adding following code to Quick CSS
#main .container { background: white; } #main .container .content { background: #e0edfd; }
Regards,
YigitSeptember 11, 2014 at 11:10 pm #317673I just tried adding that and it still doesn’t extend the white all the way to the edge of the white side.
http://hobeandlucas.wpengine.com/ (hosted on WPengine)
September 11, 2014 at 11:21 pm #317678Hi!
Please add following code to Quick CSS as well
.inner_sidebar { margin-right: 50px; }
Regards,
YigitSeptember 12, 2014 at 4:37 am #317815Thank you for the help! I added that coding and the white still does not stretch all the way to the edge of the right side of the page. Is there anything else I can do to make this happen?
September 12, 2014 at 12:55 pm #318048Hi!
Do you mean that blue background here – http://i.imgur.com/3dJyPSE.png ?
If so, unfortunately it is not easily possible to change the background color of sidebar. We can change that too but then the right side of main content would be white as well.
I thought you wanted something like i posted in the screenshot that is why i provided you some kind of CSS hacks.Regards,
YigitSeptember 13, 2014 at 4:00 pm #318541Is there a way to make the homepage main content that blue and everything else white then? Could all of the other web pages have white backgrounds and the home page have that blue?
September 15, 2014 at 11:27 am #319108Hi!
Please use following code
#main .container { background: white; } .home #main .container .content { background: #e0edfd; }
Best regards,
YigitSeptember 16, 2014 at 2:50 am #319532Thank you! Is there any way that the white background on inside pages can stretch to the edge of the page? http://hobeandlucas.wpengine.com/?page_id=13 (hosted on WPengine)
September 16, 2014 at 2:52 am #319534I actually just figured out how to fix that, but now would like the white strip on the left side of the home page to be blue somehow. Is there code for this? http://hobeandlucas.wpengine.com/ (hosted on WPengine)
September 16, 2014 at 9:22 am #319680Hey!
Are you referring to the left content? Maybe this will work:
.home #main .container .content:before { content: ''; display: block; width: 9999px; height: 9999px; background: #e0edfd; position: absolute; left: -9999px; top: -50%; }
Cheers!
IsmaelSeptember 16, 2014 at 1:45 pm #319812Thanks! I am referring to the strip of white to the left of the blue on the home page only. I tried that code, and it doesn’t seem to be working. I want the home page to be blue and all of the other pages to be white. I also want the sidebar to be white on every page. Right now my code is:
#main .container { background: white; }
.home #main .container .content { background: #e0edfd; }.home #main .container .content:before {
content: '';
display: block;
width: 9999px;
height: 9999px;
background: #e0edfd;
position: absolute;
left: -9999px;
top: -50%;
}What else can I do to get rid of the white to the left of the blue background on the home page?
http://hobeandlucas.wpengine.com/ (hosted on WPengine)September 19, 2014 at 6:58 am #321681Hi!
Ismael code does work but it has some typos you need to fix (quotes) – http://screencast.com/t/stSAvNUtjwr
Cheers!
JosueSeptember 21, 2014 at 3:58 pm #322645I fixed the code, but it still is not doing what I want it to do. When viewing the home page of my website, I want the blue background to stretch to fill the entire area to the left of the white sidebar. Currently, there is a white strip running down the left side of the page, and I want this to be blue. What can I change in my coding to make this happen?
http://hobeandlucas.wpengine.com/ (hosted on WPengine)
Thanks for your help!
September 22, 2014 at 3:54 am #322749Hi!
Ismael’s code is still unfixed, if you manage to fix it you should get this result – http://screencast.com/t/okQfrlzj5 (is that what you want?).
Regards,
JosueSeptember 22, 2014 at 4:00 am #322753Yes, that is what I want. Would you mind please sending me that code? The previous screencast was cut off and I couldn’t read the entire thing.
Thank you!
September 22, 2014 at 4:02 am #322756Hi!
Here you go:
.home #main .container .content:before { content: ""; display: block; width: 9999px; height: 9999px; background: #e0edfd; position: absolute; left: -9999px; top: -50%; }
Make sure the quotes in content: “” get inserted as actual quotes (“”).
Cheers!
JosueSeptember 22, 2014 at 4:07 am #322760Thanks so much!
September 22, 2014 at 4:14 am #322763You are welcome, glad we could help :)
Regards,
Josue -
AuthorPosts
- The topic ‘Sidebar’ is closed to new replies.