You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 02-05-2013 19:40:20

rmatveev
Contributors
Registered: 24-04-2013
Posts: 32

Mobile version: deleting of the header

Hi everybody!
What is the best way to disable the most top header with "Your website" title and Home-Tilegroup 2 - Group 3 navigation?

Thanks everybody!

Offline

#2 02-05-2013 20:07:08

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Mobile version: deleting of the header

I'd create a plugin

plugins/hideheader/plugin.php

and use something like this (didn't test it)

if($mobile){
onEvent("headEnd","hideHeader");
function hideHeader(){
echo "<style>.mobile header{display:none;visibility:hidden;}</style>";
}
}

Offline

Board footer

Powered by FluxBB