mmistakes / jekyll-theme-skinny-bones

A Jekyll starter with a variety of flexible layouts and components.
https://mmistakes.github.io/jekyll-theme-skinny-bones
MIT License
802 stars 907 forks source link

How to delete the right panel? #58

Closed Nowosad closed 8 years ago

Nowosad commented 8 years ago

Is there any way to delete left panel in Skinny Bones?

mmistakes commented 8 years ago

Left panel? Do you mean the right sidebar?

Nowosad commented 8 years ago

Yes, of course - the right sidebar;)

mmistakes commented 8 years ago

If you look at the various _layouts just remove the ad sidebar, which is this line:

{% if page.ads == true %}<div class="ads">{% include advertising.html %}</div><!-- /.ads -->{% endif %}

You'll probably have to mess with the CSS too for #main .inner-wrap since its not set to be 100% to account for the sidebar. Rip out these lines in _layout.scss and possibly replace with width: 100% and you should be all set.

#main {
    .inner-wrap {
        @include media($medium) {
            @include span-columns(9);
        }
    }
}
Nowosad commented 8 years ago

Thanks for the answer and also for your great work!