Hi,
I would suggest a post template which is centrally alligned like Medium of something similar to this:
http://www.theverge.com/2015/1/21/7861645/finfisher-spyware-let-bahrain-government-hack-political-activist
Currently if I disable side-bar then it become full width I would really want to be able to have a template where I can have such option where the ‘width’ of the post remains the same (650px).
Thanks!
You can do that with Visual Composer. Go to Settings > Visual Composer and turn it on for Posts. Then, on the posts you want centered like that, turn off the sidebar and go into the VC backend editor, change the row layout to 1/4 + 1/2 + 1/4 and use a text block in the center column. If that’s too narrow, just remember the row layout is any combination using fractions larger than 1/12. So 1/8 + 6/8 + 1/8 would give you a wider center column for text than 1/4 + 1/2 + 1/4.
It won’t allow you to go full-width with images throughout the post, as in your example, but that’s because this is a newspaper/magazine theme and that feature is more creative or photography.
But it will produce the desired layout without much effort and no coding. Play around with it a bit.
@kronos Thanks a lot. I tried and it looks as expected. The problem with this method is that it inserts short-codes in the post bodies and if we decide on changing themes in future, there will be a lot of ugly shortcodes visible to users (due to the WP Bakery Visual Composer) So a theme template will be a preferred solution. We burned ourselves before by depending too much on plugin based feature. That said your suggestion does help a lot.
-
This reply was modified 11 years by
arnieswap.