• samswaab

    (@samswaab)


    Hi,

    I’m having a problem with the width of the div class=rotatingtweet.
    I want the width of this div contain 200px when its used on a device with size smaller than 480px.
    Tried to use a media query in the css-file, but it seems the javascript overrules the width of the css.

    https://wordpress.org/plugins/rotatingtweets/

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

    (@mpntod)

    The JavaScript looks at the container script to see what size the Tweets should be.

    Two things to try:

    • Try the other version of the JavaScript on the Rotating Tweets setting page (since it handles sizing differently)
    • Set the width of div.rotatingtweets or even of the container the next level up from that rather than trying to set the .rotatingtweet width
    Plugin Author Martin Tod

    (@mpntod)

    Did this work?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change width of div’ is closed to new replies.