Problem/Motivation

If we add block on the regions sidebar left or sidebar right this will not create columns. We should add the functionality of creating columns if there is sidebars available.

Solution

We should use the Skeleton grid system to make those sidebar responsive and right next to content region.

Comments

darol100 created an issue. See original summary.

darol100’s picture

Status: Active » Patch (to be ported)
Issue tags: +Needs backport to D7

This have been implement already on the D8 version. Here is the code on twig version...

page.html.twig

{%  if page.sidebar_second and page.sidebar_first %}
     {% set col_class = 'six' %}
{%  elseif page.sidebar_second or page.sidebar_first %}
  {% set col_class = 'eight' %}
{% else %}
       {% set col_class = 'ten' %}
{% endif %}

Now we need to port this to the PHPtemplate.

darol100’s picture

Issue tags: +Novice