WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] Twitter (Jetpack)

[Resolved] Twitter (Jetpack)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Hi!

    1. The easiest way to do that would be through CSS: target the widget title and remove the link styling and the hover styling on it. Another way is to edit the plugin file here:

    http://plugins.trac.wordpress.org/browser/jetpack/trunk/modules/widgets/twitter.php#L74

    2. You can do that with CSS, by adding some margin or padding to the bottom of each Tweet, for example

    3. Which Follow Link? You mean, the Twitter Follow button? The easiest way would be to modify the plugin file, here:

    http://plugins.trac.wordpress.org/browser/jetpack/trunk/modules/widgets/twitter.php#L152

    right between the first ?> and the <a href=”http://twitter.com/

    Remember, if you edit the plugin file your changes will be overwritten the next time you update.

    Hope that helped!

    Thank you Richard!

    Managed to adjust the plugin file for no. 1 and 3, job done. Perfect! I’ll just have to rewrite when I update…

    The reason I took this route was mainly because I’m not sure what I’m referencing in the CSS. My CSS is worse than my HTML, and my PHP nearly none existent. Sorry…

    I should be able to unpick it however with a little guidance.

    Firstly, is it my site CSS you are referring to? Or is there a specific plugin CSS file I need to amend? If it’s the later what do I need to reference? Hope that makes sense.

    Thanks in advance!

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Hi!

    Well, I can help you out with the CSS but I’ll need a link to your site for that. And yes, it’s your site’s CSS, the widget can use it.

    Hi Richard,

    My site is http://renedelabre.com.

    I’ve tried everything in the sidebar CSS on my site to no avail…

    Any pointers you can give me would be most appreciated.

    Best.

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Hi!

    I see that you tried to add something using Jetpack’s Custom CSS. You almost have it; I’d do something like this instead:

    .widget_twitter li {
    margin-top: 10px;
    margin-bottom: 10px;
    }

    You can of course change the amounts to whatever you want.

    However, I hadn’t noticed that you also want to force a line-break bwteeen the tweet and the timestamp. You won’t be able to do that in CSS, you’d again have to edit the plugin file, here:

    http://plugins.trac.wordpress.org/browser/jetpack/trunk/modules/widgets/twitter.php#L133

    Let me know how that goes for you!

    Spot on! That did the job perfectly. Thank you very much for your time and guidance.

    Please let me know if there is somewhere I can donate to in recognition of your ongoing development of this plugin, and continued support of WordPress.

    Best,

    Rene

    PS. I’d buy you a pint if you weren’t the wrong side of the water. Cheers anyway! 😉

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Ha! Just doing my job, friend! I’ll have a pint with your name on it tonight, then 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Twitter (Jetpack)’ is closed to new replies.
Skip to toolbar