Support » Fixing WordPress » theme change doesn’t show on mobile

  • Resolved SRD75

    (@srd75)


    I’ve uploaded a new version of the child theme, adding a -v2 onto the theme folder name.

    However, my mobile is still viewing the non-v2 theme’s stylesheet.

    How do I force mobiles to respect the new theme without forcing them to clear their cache?

    • This topic was modified 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • Joy

    (@joyously)

    There is a version number parameter to the function that enqueues the stylesheet. It is intended to force a download since the URL of the stylesheet would change. Putting your new version in a different theme folder doesn’t do the same thing.
    See the explanation of child theme stylesheets.

    Edit: Also, do you have a cache plugin? If so, you should clear its cache.

    SRD75

    (@srd75)

    Beautiful, thanks Joy!

    Hi SRD75,
    please advise if you managed to fix your problem? I have changed the theme of my site – outdoorballpro.com and failing to optimize it for mobile view.

    SRD75

    (@srd75)

    Yes, the info @ child theme stylesheets helped resolve my problem Edward.

    This thread is unrelated to your problem though.

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