Full-Width Posts in Oxygen
-
I can’t seem to find any conversation about making full-width posts in the Oxygen theme. I’d like to have the entire space for posts without any of the widgets in the way. Is there any CSS for that?
I would just use a page, but I want to link to it from my image slider on the front page.
Thanks!
-
-
I already asked for the CSS for that matter. But I decide not to use it because the result wasnt much like I picture in my mind. give it a try for yourself.
https://en.forums.wordpress.com/topic/full-width-content-area#post-2157553 -
Thanks, remehtemehmedia, but that made the front page full-length. I’m hoping to find the CSS for making my posts full-length.
-
Full-width posts in Oxygen are a little bit tricky because the columns use negative margins, as you can see in the original CSS:
#content { margin: 0 29.78723404% 0 20.21276595%; } .full-width #content, .image-attachment #content { margin: 0; } #secondary { float: left; margin: 0 0 0 -100%; width: 17.02127659574468%; } #tertiary { float: left; margin: 0 0 0 -26.59574468%; width: 26.59574468%; }Adding something like this to your existing custom CSS should override that and give you full-width posts. Let me know how it goes.
.single-post #secondary { display: none; } .single-post #content { margin: 0; } -
-
- The topic ‘Full-Width Posts in Oxygen’ is closed to new replies.