WordPress.org

Forums

Custom Content Shortcode
[resolved] Not Showing on Iphone/Ipad (4 posts)

  1. telkins
    Member
    Posted 1 year ago #

    Hello. I just noticed that for some reason, the backgrounds won't show up on iphone/ipad. Any idea why this is happening? Everything else seems to work fine, but on those devices the background disappears in the div.

    If you look at the block that says "Can you guess what this is?" then you will see that the background for that div doesn't show up on iphone/ipad. Thanks for any help you can give me.

    http://charleybiggs.com.s64567.gridserver.com/

    https://wordpress.org/plugins/custom-content-shortcode/

  2. Eliot Akira
    Member
    Plugin Author

    Posted 1 year ago #

    I wonder if this would help: in the code from the other thread, where it says div style="background:.. to instead specify div style="background-image:..

    To be honest, I don't have an iPhone/iPad to test this on. A quick search yielded this result: http://stackoverflow.com/questions/18999660/background-image-not-showing-on-ipad-and-iphone

    So, apparently the CSS and the order of parameters must be strictly specified.

  3. telkins
    Member
    Posted 1 year ago #

    I figured it out. The background image I was trying to load was too large for iPhone/iPads to load. They apparently limit the pixel width of images they are willing to load. Thanks for your help!

  4. Eliot Akira
    Member
    Plugin Author

    Posted 1 year ago #

    Cool, thank you for letting me know the solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic