The following CSS in the Rotating Tweets style.css is getting ‘caught’ by the old template, but not by the new template.
#content .rotatingtweets,
#content .norotatingtweets {
border-top: 1px solid #DDD;
border-bottom: 1px solid #DDD;
margin-bottom: 3%;
}
You may want to add a rotatingtweets.css file to wp-content/uploads that contains something like:
#after_section_1 .rotatingtweets,
#after_section_1 .norotatingtweets {
border-top: 1px solid #DDD;
border-bottom: 1px solid #DDD;
margin-bottom: 3%;
}
or
#main .rotatingtweets,
#main .norotatingtweets {
border-top: 1px solid #DDD;
border-bottom: 1px solid #DDD;
margin-bottom: 3%;
}
or even:
.rotatingtweets,
.norotatingtweets {
border-top: 1px solid #DDD;
border-bottom: 1px solid #DDD;
margin-bottom: 3%;
}
or if you are editing your own style.css file for the site, just chuck it in there!
Thanks, the first one worked in my child CSS file.
I’ve also noticed that
#content .rotatingtweet {
padding-top: 0.7em;
padding-bottom: 0.7em;
}
is being stripped from each tweet as well. What would be the CSS to include to get that padding re-inserted?
In essence, the problem is that the new location of Rotating Tweets doesn’t have #content in it. The easiest way to see how an element is identified on the page is to right click and then select Inspect (or [CTRL]+[SHIFT]+I). In Chrome, the identifier for the element appears immediately under the HTML in the middle of the page.
So you need to switch #content for something that is an identifier – like #after_section_1 – which gives you:
#after_section_1 .rotatingtweet {
padding-top: 0.7em;
padding-bottom: 0.7em;
}