Heroslider with hyperlink works on mobile but not desktop

  • Author
    Posts
  • #92153

    themouseoutfit
    Member
    Original poster

    I have a pic in the heroslider with a hyperlink to buy my music. It displays correctly on my phone but is showing a white rectangle in the link area on my PC. Can you help? Thanks

    The blog I need help with is: themouseoutfit.wordpress.com

    #92277

    thelukemcdonald
    Theme Author

    It looks like you have the correct image format (png) and the original image is transparent.

    https://themouseoutfit.files.wordpress.com/2014/03/wordpress-trans.png

    However, when WordPress resizes the image using a width URL parameter, the image has a white background.

    https://themouseoutfit.files.wordpress.com/2014/03/wordpress-trans.png?w=910

    The theme doesn’t have control over this, unfortunately. I’ll request some help from someone who may know of a fix for this issue.

    #92286

    kathrynwp
    Staff

    themouseoutfit & thelukemcdonald – is the idea that you’re placing a transparent image over the featured image to make it clickable?

    Could you try making the original transparent image exactly 910px wide so that it doesn’t need to be cropped via that parameter? Reupload it in the post when you’re done and see if that does the trick.

    #92296

    themouseoutfit
    Member
    Original poster

    Hi Kathryn…
    “is the idea that you’re placing a transparent image over the featured image to make it clickable?”
    Yep that’s it : )
    I tried to resize the transparent image’s width to 910px …I couldn’t get it quite accurate but managed to get 909px.
    Anyway that seems to have solved the problem!
    Thanks

    #92301

    kathrynwp
    Staff

    Great, glad that did it!

The topic ‘Heroslider with hyperlink works on mobile but not desktop’ is closed to new replies.