• Resolved kgagne

    (@kgagne)


    Hello!

    When I embed a Strava activity on my blog and view it on my mobile device, the map fits the width of the page perfectly. The table above it does not, though; users must scroll left and right to see the whole thing.

    I see this was brought up in the forum before, but it’s been a few years, and I’m unsure if anything has changed.

    Is there custom CSS you recommend I implement to address this issue?

    Thanks!

    The page I need help with: [log in to see the link]

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

    (@jrfoell)

    Hi @kgagne – yes the table is not (yet) responsive. The easiest way to get around this is to use the “image_only” flag to remove the table entirely. If you’re using the block editor, there’s a toggle to turn it on/off. If you’re using a shortcode, you can add it like this:

    [activity id=123456789 image_only=true]

    I do have making the table responsive on my list: https://github.com/cmanon/wp-strava/issues/14 I’ll move it up on my priorities ??

    • This reply was modified 4 years, 4 months ago by jrfoell.
    • This reply was modified 4 years, 4 months ago by jrfoell.
    Plugin Author jrfoell

    (@jrfoell)

    Hey @kgagne – I just released version 2.4.0 which features responsive table support. I still need to add it to embedded routes, but activity should work. Let me know if you have any problems.

    Thread Starter kgagne

    (@kgagne)

    Hi! Thanks for the update. I updated the plugin, cleared my site’s cache (and the plugin’s image and transient data), and loaded the page in an incognito mobile tab. The activity table above the route is still wider than the rest of the page. ??

    The link is in my original post, if you want to verify whether it’s just me? I haven’t tested other themes to see if that’s the issue.

    Plugin Author jrfoell

    (@jrfoell)

    Thanks @kgagne – I think I know what is going on… you’re using the block editor currently, right? (vs. “classic” wordpress editor). I think the new stylesheet didn’t get enqueued. I’ll keep digging in!

    Thread Starter kgagne

    (@kgagne)

    Correct! I have the Gutenberg 9.3.0 plugin active.

    Plugin Author jrfoell

    (@jrfoell)

    Hey @kgagne – I realize there was a case where the styles wouldn’t get enqueued. This should be fixed with version 2.5.0. Can you try it out?

    Thread Starter kgagne

    (@kgagne)

    Yay! That worked. Thanks!

    Plugin Author jrfoell

    (@jrfoell)

    Thanks for verifying @kgagne. Do you mind leaving a review?

    Thread Starter kgagne

    (@kgagne)

    Done!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Responsive Strava activity table’ is closed to new replies.