I am trying to make the sidebar more narrow in a Bootstrap 3 theme, in Drupal 8. There is no numbered class like col-sm-4 here that I could change. What is the right approach to take in this case?

<div class="row">
  {% if page.sidebar_first %}
    <aside class="{{sidebar_grid_class}}">  
      <section id="sidebar-first" class="sidebar clearfix">
        {{ page.sidebar_first }}
  {% endif %}

1 Answer 1


col-sm-4 will be applied via a function in the theme. if you search through the theme for where the variable is set you can change it there. Possibly in the .theme file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy