Jump to content

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]

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.