• Resolved nevets23

    (@nevets23)


    Hi,

    Great plugin! Everything works perfectly, except I am having trouble with the css. I would like to get the previous/next buttons placed to the right hand side of the tweets (i.e. on the same line, but on the opposite end).

    For some reason, every time I float the previous next buttons to the right, the tweets get pushed up to the top of the page. I’ve tried everything, and am at a loss. I’m not sure what the problem is…

    Any assistance you could provide would be greatly appreciated.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter nevets23

    (@nevets23)

    Nevermind; I was able to figure it out!

    Plugin Author Martin Tod

    (@mpntod)

    I’d be interested to know how you did it!

    Did you fix the width for div.rotatingtweets ?

    Thread Starter nevets23

    (@nevets23)

    Ok, I take it back….I thought i fixed it. Everything looked great, but not when I float the controls right, they don’t work anymore.

    I give up…..any suggestions?

    Thanks in advance!

    Plugin Author Martin Tod

    (@mpntod)

    Very hard to tell without seeing the page.

    Try something like:

    div.rotatingtweets_nextprev {
      display: inline-block;
      vertical-align: top;
    }
    div.rotatingtweets {
      width: 500px !important;
      display: inline-block;
    }

    with np_pos='bottom' in the shortcode. You’ll need to change the 500px to be less than the width of your page.

    Martin

    Thread Starter nevets23

    (@nevets23)

    Hi Martin,

    Thanks for the help! I got that part of it working now. I do have another quick question, however. Is it possible to display the tweets in the following manner:

    1 month ago RT @businessinsider: If Apple gets into the car business, its biggest competitor won’t be Tesla http://t.co/8C2OGpm95G http://t.co/R1rURS5E…

    In other words, have the the twitter logo, then timestamp, then whether it was retweeted, then, the tweet/link?

    Thanks for all your help! This plugin is amazing and looks great!

    Best,

    Steven

    Plugin Author Martin Tod

    (@mpntod)

    More or less anything is possible, but for that it would probably be best to use a custom display format – via a rotatingtweets_display_override() function… with official_format='custom'.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Previous/next button’ is closed to new replies.