WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blog post photos not showing on mobile devices (11 posts)

  1. angel357
    Member
    Posted 1 year ago #

    I am having a problem viewing photos on mobile devices.

    If I view the blog on a tablet or a computer the photos show correctly. However if I view the blog on a mobile phone they disappear. Does anyone have a possible solution for this. Thanks.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try deactivating plugins to explore whether any could be responsible.
    Try looking at the theme's demo website on a mobile phone to see whether the issue is specific to your theme.

  3. angel357
    Member
    Posted 1 year ago #

    I have tried to deactivate the plugins. The theme is a custom theme I created based off of Twenty Twelve. They were showing fine when I first took the blog live. I tested it and all my photos were showing

    Yesterday, a visitor pointed brought this to my attention and sure enough when I tried viewing it on my phone the photos were missing.

    Could it be a media query hiding them?

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Rather than us throwing out wild guesses, link the site in question for us to diagnose.

  5. angel357
    Member
    Posted 1 year ago #

    310designs.com/blog

    The problem is only on blog posts.

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    I don't see any images on my laptop for this blog post.

  7. angel357
    Member
    Posted 1 year ago #

    Great so now none of my photos are showing regardless of what device they're viewed.

  8. atlanteavila
    Member
    Posted 1 year ago #

    Your problem is in the css: style.css line 897:

    .intro img {
    			visibility: hidden !important;
    		}

    Not possibly you hid them to save bandwidth on mobile devices?

  9. Andrew
    Forum Moderator
    Posted 1 year ago #

    I blame the CSS that specifically tells them to be hidden.

  10. angel357
    Member
    Posted 1 year ago #

    I have fixed the issue so that photos are again visible on tablets & computers.

    That's hiding a specific class which is for an image I want to have hidden. It shouldn't affect every photo in posts.

  11. angel357
    Member
    Posted 1 year ago #

    I just gave it a try and that was the issue. Thanks guys!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags