• Resolved mtngeekuk

    (@mtngeekuk)


    Hi –

    Loving this plugin, seems to be the only one out there that does it.

    I seem to be having trouble with making the map responsive. I’ve added this CSS, but doesn’t seem to be making any difference.

    .wp-strava-img img {
    width: 100% !important;
    }

    Thanks in advance…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jrfoell

    (@jrfoell)

    @mtngeekuk – can you send me to a page on your site that has an image that’s not playing nicely on mobile? I’m guessing that it’s the table preventing it from being responsive rather than the image. I’ll add an option to remove the table, although eventually I’d like to make the table responsive as well: https://github.com/cmanon/wp-strava/issues/14

    Plugin Author jrfoell

    (@jrfoell)

    @mtngeekuk – I also noticed a CSS rule that was preventing the map image from resizing nicely on mobile. With 1.7.0 if you use [activity id=XXX image_only=true] that should get you a responsive image and insure the data table isn’t interfering. Feel free to re-open this ticket if it doesn’t solve your issue. Thanks!

    Thread Starter mtngeekuk

    (@mtngeekuk)

    Hi –

    Have upgraded to 1.7.0 and tried the extra condition, but still no joy sorry.

    Page where I’ve put it is here: https://mountaingeek.co.uk/2019/01/test-route/

    Plugin Author jrfoell

    (@jrfoell)

    I’ll take a look today.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Responsive Map?’ is closed to new replies.