Topic Closed
MikDream
3 Posts

Hello,

First, sorry for my English, I'm French.

I use the theme Metro light, and I want to delete the side menu and the area reserve to the side menu. But I don't know how to do...

 

Mikaël

7 years ago#4906

jogai
264 Posts

Edit the template.php and delete the following section (line 58):

<div class="sidebar">
          <?php
          gpOutput::Get('Extra','Side_Menu');
          ?>
          <?php gpOutput::GetAllGadgets(); ?>
        </div>
Edited: 7 years ago#4907

Gökhan Sönmez
9 Posts
6.4K Downloads
1 Themes

Hi Mikael,

You must edit template.php (in themes/metro-light directory) and style.css (in themes/metro-light/[color] directories).

In template.php just delete these lines (58-63):

<div class="sidebar">
  <?php 
gpOutput::Get('Extra','Side_Menu'); 
?>
  <?php gpOutput::GetAllGadgets(); ?>
</div>
 
In style.css files find this line (90):
.content { width: 560px; margin: 0 10px 0 15px; padding: 0 10px 15px 10px; float: left; color:#ddd;}
and change it to:
.content { width: 860px; margin: 0 10px 0 15px; padding: 0 10px 15px 10px; float: left; color:#ddd;}
I'm not sure about correct width size for .content div. You may test and reconfigure it for the best view...
Edited: 7 years ago#4908

MikDream
3 Posts
Thanks, I'll try. Mikaël
7 years ago#4909

MikDream
3 Posts

It's ok! Thanks again.

Mikaël

7 years ago#4910

Gökhan Sönmez
9 Posts
6.4K Downloads
1 Themes

You are welcome :)

7 years ago#4911

Topic Closed

 

News

Typesetter 5.1
8/12/2017

Typesetter 5.0.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register