Jump to content

Mobile devices - display: none; does not work


SarahBear

Recommended Posts

As the title says, on any mobile device, display: none; does not work.  It will work when the CSS file is cached, however, when you refresh the URL (in any browser this will request a new version of the file) it appears that it will ignore display: none; calls.  I tested this on several emulators.

 

I read somewhere that using both display: none; and visibility: hidden; worked, but I have not seen results for this.

 

Has anyone come across this before, or know a fix/work-around?

Link to comment
Share on other sites

I have made a copy on a free hosting site and no longer experience the issues.  It either has to do with the PHP displayed content conflicting with it or something else.  Either way, I will examine this issue closer, but I believe it is a CSS or server issue because it only occurs every few hard-refreshes now.

 

I will post again if I can not resolve this :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.