Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 07-04-2019 06:36:12

Panmanjon
Member
From: Manchester UK
Registered: 08-18-2004
Posts: 329
Website

Left column display

What is easiest way to remove the left side bar altogether. please?

Offline

 

#2 07-05-2019 11:15:31

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19255
Website

Re: Left column display

Assuming you're using the stock Flext skin.  In your skin's skin.php file, change:

Code:

<div id="kskin_main"><div id="kskin_maininner" class="kgrid2col kgridmidsplit">

<div id="kskin_maincontent" class="kgridbox kgridxcol75 kflex1thin kflex1mid kflex2wide">
<div class="kgridmidthin kgridwidethin">
<?php $this->include_namespace('core','skinwidgets',array('group' => 'LOCATION', 'display' => 'flex-separate')); ?>
</div>
<core:content />
</div>

<div id="kskin_col2" class="kgridbox kgridxcol25 kgridwidethin kflex2thin kflex2mid kflex1wide">
<div class="kgridmidhalf"><?php $this->include_namespace('core','skinwidgets',array('group' => 'SIDEBAR1', 'display' => 'flex-separate')); ?></div>
<?php $this->include_namespace('core','skinwidgets',array('group' => 'SIDEBAR2', 'display' => 'flex-separate')); ?>
</div>

</div></div>

To:

Code:

<div id="kskin_main"><div id="kskin_maininner"><div id="kskin_maincontent">

<div class="kgridmidthin kgridwidethin">
<?php $this->include_namespace('core','skinwidgets',array('group' => 'LOCATION', 'display' => 'flex-separate')); ?>
</div>

<core:content />

</div></div></div>

In your skin's all.css file, change:

Code:

/* +------------------------------------------------------------+ */
/* | Skin: kskin_main                                           | */
/* +------------------------------------------------------------+ */

#kskin_maininner {max-width: 1100px; margin: 0 auto 0 auto;}

#kskin_col2, #kskin_col3 {padding: .5em .5em 0 .5em; background-color: #F4F4F4;}

#kskin_maincontent {padding: .5em .5em 1em .5em;}

#kskin_col2 div.kwidget_boxcontent a {color: #000000;}

@media all and (min-width: 960px) {

     #kskin_maincontent, #kskin_col2, #kskin_col3 {padding: 1em 1em 2em 1em;}

}

To:

Code:

/* +------------------------------------------------------------+ */
/* | Skin: kskin_main                                           | */
/* +------------------------------------------------------------+ */

#kskin_maininner {max-width: 1100px; margin: 0 auto 0 auto;}

#kskin_maincontent {padding: .5em .5em 1em .5em;}

Nick Hendler

Offline

 

Board footer