Jump to content

How to remove column/menu area


1.zer0

Recommended Posts

I am using e107 and have 3 cloumns, 2 menu columns on the right and left and a central content column. I would like to remove the right hand side column (menu 2) and widen the central content but I don't know how. I have looked at the php code and have located what I think is the column layout part. I think it is this:

 

<div class="content-wrapper">

<div class="view-area">

<div class="main-left f-left"><!-- --></div>

<div class="main-right f-right"><!-- --></div>

<div class="main-center">

'.(($area_1) ? '

<div class="col-left f-left">

<div class="box-left f-left"><div class="bkg-white"><!-- --></div></div>

<div class="box-right f-right"><div class="bkg-white"><!-- --></div></div>

<div class="box-center">

<div class="box-content">

 

{SETSTYLE=col_left}

{MENU=1}

</div>

</div>

</div>

' : '').'

<div class="col-main-center">

<div style="height: 67px; padding: 0px 20px;">

<div class="search-wrapper">

{SEARCH}

</div>

<div class="custom-login-wrapper">

'.((!USER) ? '{FS_CUSTOM=login}' : '' ).'

</div>

</div>

<div class="H20"><!-- --></div>

'.(($area_2) ? '

<div class="col-right f-right">

{SETSTYLE=col_right}

{MENU=2}

</div>

' : '').'

<div class="col-center">

{SETSTYLE=center}

';

 

 

If this isn't the right part then I can post more code.

 

Any help would be great

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/200642-how-to-remove-columnmenu-area/
Share on other sites

Thanks for your hilarious reply muddy with a small amount of help at the end.

 

As the code I have pasted is in a file called theme.php i assumed thats what it was.

 

Anyway, I have now attached the full file if there would be someone so kind as to help me with my original question?

 

Many Thanks,

 

[attachment deleted by admin]

there are 2x index pages one in a folder called menu and one in a folder called includes.

 

they are both html which i cant upload so i've changed it to .txt

 

the index from the menu folder is index1, includes folder is index.

 

thanks.

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.