Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
jimmydhorn

display mobile only image for home page 'Index-page-image'

Question

I am trying to find a bit a code that would allow my Mojave template to display one image in the header banner image space on desktop and a different image for mobile.

@alxfyv (taggin you because Ive tried a few of your suggestions that have worked for others but not myself)

Edited by jimmydhorn
Initial Revision

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

I was able to display a different banner image on mobile with the following code: 

@media only screen and (max-width: 640px) {
       #page-url {
              background-image:url('instertimageurlhere');
         }
    }

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...