Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
For desktop width screens, we want to have:
$variables['content_column_class'] = ' class="col-sm-8"'; (8 columns instead of 9, and then set our sidebar_second to 4 columns in the page.tpl.php).
Since this variable for setting the content column class is set in page.vars.php, what would be the proper way to override this variable in our subtheme.
Thank you
Comments
Comment #1
wrender CreditAttribution: wrender commentedMy apologies. No sleep last night. I did not realize this could be done by overriding the functions in template.php. In our subtheme I just added the following (Modifying 9 to 8, and then cleared the cache.
Comment #2
markhalliwellComment #3
arne.olafson CreditAttribution: arne.olafson commentedNote that comment #1 has an extra `_bootstrap` in it, and should read:
Not: