Closed ekstroem closed 9 years ago
Yes it is. You need to modify the CSS as well. The main content container is set to span 9 out of 12 columns leaving 3 columns worth of space for ads (or anything else you'd like to stick in as a sidebar).
If you in change 9 to 12 in _layout.scss
it should span the full width of the parent container.
#main {
.inner-wrap {
@include media($medium) {
@include span-columns(12); // change 9 to 12
}
}
}
You might want to permanently remove {% if page.ads == true %}<div class="ads">{% include advertising.html %}</div><!-- /.ads -->{% endif %}
from each of the _layouts
as well just to make sure ads aren't ever displayed, which would likely break the layout once you widen #main div.inner-wrap
.
Cheers,
Got it up and running as desired. Thank you for making this available!
Hi,
Is is possible to remove the advertisements globally from all pages (e.g., posts) in order to user the full screen. I tried entering
ads: false
as shown below in_config.yml
but it doesn't seem to have the desired effect.