I have two web sites. On both sites, I have a header which is obtained from a master page.
In mobile view (BP of 480 or 320), the headers behave differently and I can't work out why.
On one (mobiletest.gmnscouts.org.uk), the header scrolls up and disappears - which is great. That's what I want.
On the other (test.giantsseat.org.uk), the header stays there and the stuff underneath goes under it as it goes up.
I've looked at the properties of the page header in each and I can't see any difference.
Anyone got any ideas where I can start to look?
Alan
A curious dilemma
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: A curious dilemma
Because on test.giantsseat.org.uk at 480 and 320
and at mobiletest.gmnscouts.org.uk at 480 and 320
And why do you use two Header, this is not correct.
Code: Select all
@media only screen and (max-width: 479px)
#PageHeader1 {
visibility: visible;
}
Code: Select all
@media only screen and (max-width: 479px)
#PageHeader1 {
visibility: hidden;
}
Last edited by spoon on Sat Jul 27, 2019 11:08 am, edited 3 times in total.
- BaconFries
-
- Posts: 5944
- Joined: Thu Aug 16, 2007 7:32 pm
Re: A curious dilemma
english please spoon... thanks...
Re: A curious dilemma
Sorry - I should have said:
On the mobiletest... site, I have 2 page headers. The second one is displayed (and the first one hidden) for the 480 and 320 breakpoints as I wanted to do something slightly different and I was still learning at the time. But each page header has the same properties.
On the test... site, I'd learned more so only needed one page header to do what I wanted.
Alan
On the mobiletest... site, I have 2 page headers. The second one is displayed (and the first one hidden) for the 480 and 320 breakpoints as I wanted to do something slightly different and I was still learning at the time. But each page header has the same properties.
On the test... site, I'd learned more so only needed one page header to do what I wanted.
Alan
Re: A curious dilemma
I've fixed what I need by creating a second master page and making the header "floating". I then assign the second master page to the pages that need the header to disappear.
I still don't know why my mobiletest... site works the way it does.
Alan
I still don't know why my mobiletest... site works the way it does.
Alan
Re: A curious dilemma
Did you read spoon's post? In one your header is hidden, in the other visible.
Re: A curious dilemma
Yes, I did - and replied to it.
Alan
Alan
Re: A curious dilemma
Yes, you did. My bad for not reading carefully enough. Sorry.