• Resolved zimbo000

    (@zimbo000)


    There are 2 versions of the website, a live one and a test/dev site. I noticed on both sites today that the height of the rotatingtweets element had changed and was now too small. No changes have been made to this section of the page that would cause this. You can see the problem on the dev site home page, https://dev.henleyherald.com/

    Something is now setting
    height: 48px
    on the rotatingtweets element – see via Chrome DevTools.

    On the live site (https://www.henleyherald.com/) I’ve overcome this today by setting
    height: 200px
    via custom CSS. This setting was not needed before. If you use DevTools to switch it off, you can see the element reverts to 48px on the live site.

    The shortcode is
    [rotatingtweets screen_name='henleyherald' only_rts=1 tweet_count=5 rotation_type='carousel' carousel_count='2' links_in_new_window='1' show_tco_link='1' show_follow='1' no_show_count='1' large_follow_button= '1' show_meta_timestamp='0' show_meta_via='0' show_meta_screen_name='0' show_meta_prev_next='1']

    jQuery Cycle is Version 2 (beta) and JS loads in the footer.

    Any ideas what has caused this to happen? And how to resolve it, i.e. not have to use height on the element.

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

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

    (@mpntod)

    I don’t have any immediate ideas.

    I normally suggest that people switch JavaScript version – although normally from version 1 to version 2! I wrote the height code in version 1 and the height code in version 2 comes with the jQuery Cycle2 plug-in (and normally works better!).

    When you switch off the height control, it currently switches back to 100px. Have you don’t something to fix it?

    Best wishes,

    Martin

    Thread Starter zimbo000

    (@zimbo000)

    I’m not sure what’s going on because it seems to be OK again now on both sites. There definitely was a problem, I can only assume I must have done something but to have it happen on both sites at the same time was a very strange coincidence. I always try new things on the dev site first and only if all is OK will I alter the live site. I’ll keep an eye on it, I’ll close this and if something happens again I’ll post a new thread.

    Plugin Author Martin Tod

    (@mpntod)

    Glad it’s working again!

    There are other plug-ins that can interact strangely with Rotating Tweets – although when I spot them I try to add a bit of code to solve the problem).

    Sometimes things happen with browser updates, plugins or settings that can cause problems too.

    Plugin Author Martin Tod

    (@mpntod)

    And thank you for the update as well!

    Best wishes,

    Martin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘rotatingtweets element suddenly reduced its height’ is closed to new replies.