Background images not showing on the unpublished site preview on mobile

Bug Summary

When using the live link preview on mobile the background images are not showing

Steps to reproduce

Open live link preview on mobile

Environment Info

Describe your environment.

  • What Operating System are you using? Apple iPhone
  • What versions of site software (Nginx, Apache, PHP, MySQL) is used?
  • What version of Local is installed? Latest version

Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

Include any screenshots or video recordings of the issue to help others reproduce.

Hi @support_local

Nick here following up on your support request!

Live Links don’t match your Local Site URL (ie: mysite.local), so Local attempts to rewrite these on the fly. Live Links is broadly compatible with many themes, plugins, and custom code snippets. However, some images, front-end assets, or other HTML elements may be missing from your site when viewing it over Live Links. You could try checking for any mixed content and fixing it up with the tips below:

  • Run the following WP-CLI command
    wp search-replace 'SITEURL' 'LOCALURL' --skip-columns=guid

  • Replace SITEURL with your production URL like https://localwp.com

  • Replace LOCALURL is your Local Site URL like http://mysite.local

  • Trust Local’s SSL certificate

  • Disable certain types of plugins: caching, security, force HTTPS/SSL

You might also need to check for any plugin or theme cache that needs to be cleared:

Keep us posted and we’d be happy to help further!

Hi, thanks.

I found if I change my preview on my computer to mobile view - the live link preview on my mobile works.

1 Like

Hi there @support_local -

Awesome, thank you for sharing what worked for you. Did you need any more support here or are we all set to close this thread?

Thank you!

Sam

All good thank you

Boni Lornie
E. marketing@catergroup.com.au

Marketing Administrator | Cater Group Pty Ltd

image001.gif

Please consider the environment, before printing this email.

image002.jpg

This e-mail is for its intended recipient only. If this e-mail has been sent to you in error, or contains privileged or confidential information, or the contact details of other persons, then you must not copy or distribute this information and you must delete the e-mail and notify the sender. Any views expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views of Cater Group. Except as required at law, Cater Group does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

2 Likes

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.