Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1007073

    Before our Enfold version-update we had some content that we did not want to display on mobile.
    On purpose we did not configure this with the WordPress functionality ‘Screen Options’ as this takes too much toll on our page performance.
    So we added the following custom CSS:

    /* #Show only on desktop */
    @media only screen and (max-width: 990px) {.only-desktop {display: none !important; 
    	}
    }

    And used a div class for certain content that we did not want to display on mobile:
    <div class="only-desktop">Lorum Ipsum</div>

    This worked in the old version, and after updating it gives a 404 error when opening the page on mobile.
    Any suggestions or ideas what to look for here?

    #1007081

    Hi there,
    It is fixed already. I think it was something else (although still unknown for me). When I deleted all the code and entered it again it seemed to be resolved.
    Best,
    Scarlet

    #1007151

    Hi Scarlet,

    Great, glad you got it working and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.