Topic Closed
hoghoj1
179 Posts
HH-Support

I succeded to remove the sidemenu in the Rifle theme.

Now I'm working on a LumoIt theme and tried the same trick, but that doesn't work at all.

Do you hava a solution??

Kind regards,

hoghoj1

4 years ago#7958

juergen
1.4K Posts
53.1K Downloads
16 Plugins
design, web development & visual effects

Edit template.php

  • Cut or copy the code from line 82 (<?php gpOutput::GetAllGadgets(); ?>) and paste it as new line after line 102
  • Remove lines 81 to 83

Edit style.css in the used color layout-subdirectory (or in all of them):

  • Remove line 137 (width: 560px;)

Done

Edited: 4 years ago#7959

hoghoj1
179 Posts
HH-Support

Hi Juergen,

I forgot to say, that I tried to change just a single page on the website. If I change template.php, all the pages will be without a sidemenu.

On the Rifle theme, I just copied the theme to another name, which I edited and removed the sidemenu from. Then I could choose that theme for a single page.

There also was a little part to css on the new copied theme.

Kind regards,

hoghoj1

Edited: 4 years ago#7960

juergen
1.4K Posts
53.1K Downloads
16 Plugins
design, web development & visual effects

Ok . The trick should be same. Just move GetAllGadgets() out of the sidebar into the footer (or elsewhere) in template.php first.

Then make a copy of the layout, name it "nosidebar" or alike.
Go to Edit this Layout and remove the "Side Menu" area from the sidebar.

In the css/less editor on the left add:

div.content {
  width:auto;
}

div.sidebar {
  display:none;
}

Save.
Done (hope so ;-)

 

4 years ago#7961

hoghoj1
179 Posts
HH-Support

Hi Juergen,

needless to say, I'm no expert to php, and my template.php is already changed to be able to read aloud with ReadSpeaker. So line numbers have changed, and I'm afraid to mess it all up, as this is my official site.

Could you possibly take a look at the file and tell me exactly how to do it?

The file is here

Kind regards,

hoghoj1

4 years ago#7962

juergen
1.4K Posts
53.1K Downloads
16 Plugins
design, web development & visual effects

<?php gpOutput::GetAllGadgets(); ?> is in line 103. Cut ist and paste it after line 123.
Or simply download and use this template.php

 

4 years ago#7963

hoghoj1
179 Posts
HH-Support

Hi Juergen,

it works great, thanks for all your help. I understand there are different ways to alter the various themes, so I like this forum very much - and you sometimes do all the work for us users also :-D

I know I will return back here again, so until then, bye - have fun :-)

Kind regards

hoghoj1

4 years ago#7964

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... 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