Forums

How to change the font size of my Twitter widgets? (4 posts)

  1. hunne
    Member
    Posted 3 weeks ago #

    I want to display my tweets in my sidebar and I found two plugins I like, especcially the looks. The HTML code of Twitter en the Twitter Goodies plugin.

    I put them both on my site, www.hunne.nl, and I found out that the font size is so small, that nobody can read it. I really dont know if it is possible to change that. Can somebody help?

    The code of the Twitter widget is as follows

    <script src="http://widgets.twimg.com/j/2/widget.js"></script>
    <script>
    new TWTR.Widget({
      version: 2,
      type: 'profile',
      rpp: 8,
      interval: 6000,
      width: 'auto',
      height: 300,
      theme: {
        shell: {
          background: '#ffffff',
          color: '#000000'
        },
        tweets: {
          background: '#a8a8a8',
          color: '#ffffff',
          links: '#384f63'
        }
      },
      features: {
        scrollbar: true,
        loop: false,
        live: false,
        hashtags: true,
        timestamp: true,
        avatars: true,
        behavior: 'all'
      }
    }).render().setUser('edokoch').start();
    </script>
  2. esmi
    Member
    Posted 3 weeks ago #

    Try adding:

    #sidebar ul li .twtr-bd {font-size:1em;}

    to the bottom of your stylesheet.

  3. hunne
    Member
    Posted 3 weeks ago #

    If I put it at the end it just shows up as text in the sidebar below the widget. Wat am I doing wrong then?

  4. esmi
    Member
    Posted 3 weeks ago #

    You need to add it to the theme's stylesheet. That the one with the .css extension.

Reply

You must log in to post.

About this Topic