Thread subject: Official Home of the PHPFusion CMS :: I want to remove left blocks and expand right blocks

Posted by serdo21 on 15-11-2022 12:27
#1

I want to remove left blocks and expand right blocks

i.hizliresim.com/octx9p6.jpg

Posted by Grimloch on 16-11-2022 07:33
#2

What version9 theme are you using?

Posted by serdo21 on 17-11-2022 12:16
#3

yes

Posted by Grimloch on 17-11-2022 14:34
#4

That was not a Yes or No question. I need the Name of the theme you are using.

Posted by serdo21 on 18-11-2022 10:33
#5

PHPFusion Andromeda 9.03 Magazine themes, official theme

Posted by Grimloch on 19-11-2022 08:05
#6

OK I really don't know if this is what you want but here is what I did to the code in theme.php of the Magazine theme.
Code
 echo '<div class="container-fluid">';
 echo defined('AU_CENTER'wink && AU_CENTER ? AU_CENTER : '';
 echo showbanners(1);
 echo '<div class="row">';
 $content = ['sm' => 12, 'md' => 12, 'lg' => 12];
 // $left = ['sm' => 3, 'md' => 2, 'lg' => 2];
 $right = ['sm' => 4, 'md' => 4, 'lg' => 4];
// if (defined('LEFT'wink && LEFT) {
// $content['sm'] = $content['sm'] - $left['sm'];
// $content['md'] = $content['md'] - $left['md'];
// $content['lg'] = $content['lg'] - $left['lg'];
// }
 if (defined('RIGHT'wink && RIGHT) {
 $content['sm'] = $content['sm'] - $right['sm'];
 $content['md'] = $content['md'] - $right['md'];
 $content['lg'] = $content['lg'] - $right['lg'];
 }
// if (defined('LEFT'wink && LEFT) {
// echo '<div class="col-xs-12 col-sm-'.$left['sm'].' col-md-'.$left['md'].' col-lg-'.$left['lg'].'">';
// echo LEFT;
// echo '</div>';
// }

And here you can see the result (with all left panels disabled or moved to the right panels)...
https://rogue.whisperwillow.net/index.../index.php

Edited by Grimloch on 19-11-2022 08:10

Posted by serdo21 on 19-11-2022 10:47
#7

thanks it was very nice
imgyukle.com/f/2022/11/19/JuYKtS.jpg

Edited by serdo21 on 19-11-2022 10:50