Is there a way to use jquery or something to swap out a specific image every time it is used?
I have an image of a handdrawn line (being used in place of a horizontal rule), and it's too thin on mobile since it shrinks down to fit the width of the screen. So, I made a shorter version of the line to be used on mobile and I'm using a media query to hide the mobile version on larger displays and hide the desktop version on mobile.
This works for me, but will be super confusing to my client down the road if they want to insert a line on another page, etc.
Any suggestions on the easiest way to do this?
site password: pottery
Here's an example of the desktop version:
And the mobile version....