Remove left sidebar from only one page – Oxygen
-
Well, that’s it!
I want to remove the left sidebar on the ‘blog’ page and extend its content all the way to the left.
Is it possible? How?
Thanks! :)
The blog I need help with is: (visible only to logged in users)
-
You can do that with this code in your custom CSS:
.blog #secondary { display:none; } #content { margin-left: 0; }However you will need to set the maximum width for your posts (it’s on the CSS options page) to 660px and see if that stops the theme from resizing your images to 470px. At the moment these are automatically shrunk to fit the original width, and this is something that can’t be changed properly with CSS alone.
Try it out and let me know how it goes, it should work OK at tablet and mobile resolutions too!
-
It worked! Thank you :)
However, it’s not stretching the images all the way… Is there anything I can do about that?
-
There’s a problem, though. When I change the maximum width of the site my pictures, on other pages, shrink a little, so I left the width field empty. The width of the page did not change back though.
But the big problem is, my posts are now stretched all the way to the left, overstepping the left sidebar, which only disappeared from the “blog” page. What can I do about that?
- The topic ‘Remove left sidebar from only one page – Oxygen’ is closed to new replies.