Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi nixiemartyn,

    I am away from my computer right now, but will take a look this evening. I am sure we can find a solution. This should just be CSS.

    Nick

    Thread Starter nixiemartyn

    (@nixiemartyn)

    Great, Nick!

    I really like that I can use Blox Lite locally on each page or post, so I want to keep using it. It is starting to become my new favorite plugin!

    Plugin Author Nick Diego

    (@ndiego)

    Hi nixiemartyn,

    I believe I found the issue, but I do not have a Windows Phone so I would appreciate your feedback.

    Apparently non-Webkit browers (i.e. Internet Explorer, Firefox, and Opera) handle the CSS setting display: inline-block a bit differently than browsers like Chrome and Safari. This CSS setting is assigned to .blox-image-wrap. Here are the links to markup reference as well as the default CSS reference.

    Windows Phone runs a mobile version of IE, which is why you are seeing the issue. I will work a permanent fix into the next update (probably by the end of the week), but in the meantime there are a few very easy temp fixes.

    The first is to disable the Default CSS in the plugin. This can be done individually on each block, or globally on the plugin Settings page. The other plugin you referenced, Genesis Featured Image Header, does not add any default styling, which is why you didn’t have any issues with it.

    The other option is to keep the default styling, but correct for the issue on Windows phone. The easiest thing to do is under the plugin Settings page, navigate to the Style tab and enter the following into the Custom CSS textarea:

    .blox-image-container,
    .blox-image-wrap {
           width: 100%;
    }

    This should make the container and wrapper only as big as the screen on the Windows Phone which will force the image to also only be 100% of the screen size.

    I ran some tests on the desktop version of IE and Firefox and this seems to do the trick. Once I am confident this does resolve the issue without adversely effecting Chrome or Safari users, I will amend the Default Stylesheet with these edits. Again, if you do try the temporary fixes, I would greatly appreciate your feedback.

    Thanks,
    Nick

    Thread Starter nixiemartyn

    (@nixiemartyn)

    Thank you for the insightful response, Nick!

    When I disabled all default styles either globally or locally it works on Windows Phone.

    I also tried keeping the default styling, but correcting the issue in the custom css area with the code from your post. Same result, the image is only as big as the screen on a windows phone 8.

    Screenshot

    Thanks again for the quick reply.

    Plugin Author Nick Diego

    (@ndiego)

    Hi nixiemartyn,

    The new version of Blox Lite incorporated the style fix, so I am marking this as resolved. Let me know if you have any additional questions.

    Thanks,
    Nick

    Thread Starter nixiemartyn

    (@nixiemartyn)

    Thank you Nick!

    I tried it now on a windows phone and can confirm it is now working!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Featured image not responsive on Windows Phone 8’ is closed to new replies.