Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Main content columns dependent on existence of sidebar #325

Closed
coheractio opened this issue May 5, 2015 · 2 comments
Closed

Main content columns dependent on existence of sidebar #325

coheractio opened this issue May 5, 2015 · 2 comments
Labels

Comments

@coheractio
Copy link

First of all, thank you for this theme. Very flexible and easy to work with.

I suggest the following change to support the existence or not of the sidebar.
In the various template files, replace :
<div class="small-12 large-8 columns" role="main">
by :
<div class="small-12 <?php echo ( is_active_sidebar() ) ? 'large-8' : 'large-12' ?> columns" role="main">

Laurent

@Luciaisacomputer
Copy link
Contributor

This could really be handy.

@olefredrik
Copy link
Owner

Fixed #445

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants