If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / footer disappears on phone but not on desktop or tablet

footer disappears on phone but not on desktop or tablet

Started by marieaa on 20 Aug 2016, 12:33 AM · Views: 3,028

Results 1 to 20 of 27
20 Aug 2016, 12:33 AM
#1
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

footer disappears on phone but not on desktop or tablet

The footer of my website doesn't show when looking at my website on a phone vertical or horizontal view. Also there is some information there that I don't want... in the menu, my info pages 1 2 3 4 are still there eventhtough the information sideboxes are turned off in the Layout Boxes Controller. HOwever, all is perfectly good on desktop or on tablet. I don't remember making any change specific to phone so I am lost.

Is there a place where I can select waht I want to show and not to show on phone?

Zen cart v1.5.5.a

addon installed:
CEON URI Mapping
Edit Orders
Canada Post Shipping Module
Flexible Footer Multilingual
Simplified Social Sharing
Oneall Social Login (not operational yet)
Newsletter Subscribe
Column Layout Grid

20 Aug 2016, 3:31 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: footer disappears on phone but not on desktop or tablet

Don't necessarily see what template is involved. This aspect of an issue is primarily template related in particular either taking advantage of "knowing" what device is visiting or otherwise for some reason being pushed off the screen or otherwise affected.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

20 Aug 2016, 5:27 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: footer disappears on phone but not on desktop or tablet

Given that you said you're using v1.5.5 and didn't list a template, I would assume you're probably using the Responsive Classic template. In that case the mobile view has some overrides that replace/remove desktop components via jQuery, in /includes/templates/responsive_classic/jscript/jscript_responsive_framework.php.php and also in the css folder.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Aug 2016, 7:48 AM
#4
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Re: footer disappears on phone but not on desktop or tablet

DrByte:

Given that you said you're using v1.5.5 and didn't list a template, I would assume you're probably using the Responsive Classic template. In that case the mobile view has some overrides that replace/remove desktop components via jQuery, in /includes/templates/responsive_classic/jscript/jscript_responsive_framework.php.php and also in the css folder.

But it seems the display is being 'severed' rather than adapted.
@MarieAA you'll need to post a link to your site.
I see that you are using the responsive default template (without an override?).
Can I suggest that you download a clean package and compare the fileset to your live version paying particular attention to the responsive template.

21 Aug 2016, 4:20 PM
#6
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: footer disappears on phone but not on desktop or tablet

my bad... yes Dr Byte, I failed to mentionned a Template because I am using the defautl responsive classic included and yes picandnix, that is what I thought was happening... I have a clean package to compare at all times... so I will go look into it...

in the meantime... this is the website:
http://myembroideryhaven.com

Thank you to you 3!

23 Aug 2016, 4:20 AM
#7
muteyaar avatar

muteyaar

Zen Follower

Join Date:
Oct 2007
Posts:
134
Plugin Contributions:
0

Re: footer disappears on phone but not on desktop or tablet

Hi,

I am having the same problem..

mobile view does not load product info page properly.

Can you please help me what files have to be changed and what change has to be done?
everything was fine since I installed image handler4 on 1.5.5 responsive classic template at cottonfabrics.in

23 Aug 2016, 7:24 AM
#8
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Re: footer disappears on phone but not on desktop or tablet

muteyaar:

Hi,

I am having the same problem..

mobile view does not load product info page properly.

Can you please help me what files have to be changed and what change has to be done?
everything was fine since I installed image handler4 on 1.5.5 responsive classic template at cottonfabrics.in

Please start a new thread, it'll make it easier for you as I don't think your issue is 'the same'.

24 Aug 2016, 1:00 AM
#9
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: footer disappears on phone but not on desktop or tablet

actually i think the issue "may" be the same.

lets not forget that "CSS is awesome!"

on line 187 in includes/templates/responsive_classic/css/responsive_default.css, there is:

#navCatTabsWrapper, #navEZPagesTop, #navSuppWrapper{display:none;visibility:hidden;}

your footer is wrapped up in #navSuppWrapper, and the default is to not display.

on line 198, we have:

@media (min-width:481px) and (max-width:767px){

and following the @media on line 369 we have:

#navCatTabsWrapper, #navEZPagesTop, #navSuppWrapper{}

which will effectively remove the first css declaration.

so your footer is gone when your media width is at 480 and magically appears at 481.

you can try changing line 187 to match line 369 and see if that makes you happy. else you can remove the #navSuppWrapper from line 187 and see if you like those results.

i find that getting css to do exactly what you want can be a lesson in patience!

good luck!

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

28 Aug 2016, 3:41 AM
#10
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: footer disappears on phone but not on desktop or tablet

carlwhat:

actually i think the issue "may" be the same.

lets not forget that "CSS is awesome!"

on line 187 in includes/templates/responsive_classic/css/responsive_default.css, there is:

#navCatTabsWrapper, #navEZPagesTop, #navSuppWrapper{display:none;visibility:hidden;}

> 
> your footer is wrapped up in #navSuppWrapper, and the default is to not display.
> 
> on line 198, we have:
> ```
@media (min-width:481px) and (max-width:767px){

and following the @media on line 369 we have:

#navCatTabsWrapper, #navEZPagesTop, #navSuppWrapper{}

> 
> which will effectively remove the first css declaration.
> 
> so your footer is gone when your media width is at 480 and magically appears at 481.
> 
> you can try changing line 187 to match line 369 and see if that makes you happy.  else you can remove the #navSuppWrapper from line 187 and see if you like those results.
> 
> i find that getting css to do exactly what you want can be a lesson in patience!
> 
> good luck!

You were right that worked on my home page which is html.  On the cart pages however, it won't work.  The footer stills shows perfectly on desktop and tablet but won't show at all vertical or horizontal on the phone.
28 Aug 2016, 4:14 AM
#11
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: footer disappears on phone but not on desktop or tablet

hi marie,
fyi, your cart pages are also html....

i saw the footer working fine on the shopping cart page as well as on a product detail page when looking at the phone. if you really want to resolve your issues, i recommend making yourself familiar with web developer tools (a plugin for chrome and firefox) as well as html validation.

i did see some problems related to your search friendly urls not working properly.

good luck!

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

29 Aug 2016, 10:39 PM
#12
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: footer disappears on phone but not on desktop or tablet

carlwhat:

hi marie,
did see some problems related to your search friendly urls not working properly.

good luck!

best.

The issue was there prior to me trying with the user friendly url... and I get really confused with the developper Tools... the number of errors that comes up even on a clean install always confuses me. Is that normal?

29 Aug 2016, 10:41 PM
#13
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: footer disappears on phone but not on desktop or tablet

and I'm curious, what kind of phone were you using? Curious because, those I asked to check all were on some kind of iPhone or other so curious if yours is android

29 Aug 2016, 11:22 PM
#14
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: footer disappears on phone but not on desktop or tablet

marie,
i find the developer tools VERY helpful. the more you familiarize yourself with that tool, the easier your troubleshooting will become....

when i said i was on a phone, i use the developer tools to simulate a particular phone's screen size. and i ALWAYS simulate an iPhone!

as far as normal... hard for me to say what is normal... i know getting a modern, up-to-date, looking website making use of some of the latest bells & whistles can be an exercise in patience and troubleshooting.... some of your own doing, some of the plugin doings, etc.... i know that the ZC team work very hard to make things work out of the box with 0 errors on the console. they provide a nice launching spot for an e-commerce site.... but it does take a computer savvy individual to really make it sing in the key that you want....

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

29 Aug 2016, 11:38 PM
#15
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: footer disappears on phone but not on desktop or tablet

carlwhat:

marie,
i find the developer tools VERY helpful. the more you familiarize yourself with that tool, the easier your troubleshooting will become....

when i said i was on a phone, i use the developer tools to simulate a particular phone's screen size. and i ALWAYS simulate an iPhone!

as far as normal... hard for me to say what is normal... i know getting a modern, up-to-date, looking website making use of some of the latest bells & whistles can be an exercise in patience and troubleshooting.... some of your own doing, some of the plugin doings, etc.... i know that the ZC team work very hard to make things work out of the box with 0 errors on the console. they provide a nice launching spot for an e-commerce site.... but it does take a computer savvy individual to really make it sing in the key that you want....

best.

I'm brain deep in all of it at the moment. I did it in Chrome this time instead of Firefox, it is clearer for me at least. I went from 23 errors to 5 in a matter of minutes. I did stumbled on a major thing that's making me nervous but I will get rid of the little stuff before I post again. So thank you very much for that if only for giving me the push I needed to try again.

For the phone, the simulation is not showing what I am seeing on my own phone... so more investigating to do there. LOL

Thanks

29 Aug 2016, 11:49 PM
#16
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: footer disappears on phone but not on desktop or tablet

some times after selecting the phone simulation with the developer tools, you need to press F5 (or the reload button) to reload the page. and then it should look the same.... although it is also browser dependent as well; oiy! so not only will your site look different on different viewports, but it can also look different with the same viewport on different browsers...

for me, i like to use chrome and developer tools to do most of my work. and then i will look at other browsers as needed.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

30 Aug 2016, 7:26 PM
#17
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: footer disappears on phone but not on desktop or tablet

carlwhat:

some times after selecting the phone simulation with the developer tools, you need to press F5 (or the reload button) to reload the page. and then it should look the same.... although it is also browser dependent as well; oiy! so not only will your site look different on different viewports, but it can also look different with the same viewport on different browsers...

for me, i like to use chrome and developer tools to do most of my work. and then i will look at other browsers as needed.

Well I get no errors for the HTML at this point. All fixed. Haven't found the phone simulator yet but I do check directly on my phone and the footer doesn't show... nor do the friendly urls...

I'm lost! lol

30 Aug 2016, 7:49 PM
#18
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: footer disappears on phone but not on desktop or tablet

with the developer tools open, click on the icon just to the left of of the Elements link. see attached screenshot. when i hover over it, it says Toggle Device Toolbar...

alternatively you can press Ctrl-Shift-M with the dev-tools open.

Attachment 16623

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

31 Aug 2016, 11:03 AM
#19
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: footer disappears on phone but not on desktop or tablet

carlwhat:

with the developer tools open, click on the icon just to the left of of the Elements link. see attached screenshot. when i hover over it, it says Toggle Device Toolbar...

alternatively you can press Ctrl-Shift-M with the dev-tools open.

Attachment 16623

forgive me but I am not getting what you mean, I did get this view and yes on the phone simulator, the footer shows but on my real phone and at least one other member here, it doesn't work. And I must be dumb or something but still can't find the error that's making my site not behave for the footer and the seo url.

31 Aug 2016, 4:21 PM
#20
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Re: footer disappears on phone but not on desktop or tablet

marieAA:

forgive me but I am not getting what you mean, I did get this view and yes on the phone simulator, the footer shows but on my real phone and at least one other member here, it doesn't work. And I must be dumb or something but still can't find the error that's making my site not behave for the footer and the seo url.

picandnix:

I see that you are using the responsive default template (without an override?).
Can I suggest that you download a clean package and compare the fileset to your live version paying particular attention to the responsive template.
Did you do as suggested MarieAA?