Commit 60d80cee authored by phani00's avatar phani00

check if multicolumn is being used; only then move right_aside to the left.

parent 9aa51a0c
......@@ -12,11 +12,14 @@
<main>
<div class="content">
<!-- check if page_title is network or pubstream. if yes, apply double-column layout: -->
<!-- check if page_title is network or pubstream. if yes, apply double-column layout:
but only if 'multicolumn' is used. -->
<?php
$column_class = '';
if($page['page_title'] == 'network' || $page['page_title'] == 'pubstream') {
$column_class = ' double-col';
if($current_theme[1] == 'multicolumn') {
if($page['page_title'] == 'network' || $page['page_title'] == 'pubstream') {
$column_class = ' double-col';
}
}
?>
<!-- add 'double-col' as additional class to this div: -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment