WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Widget: How do I change indention? (5 posts)

  1. proudtobedad
    Member
    Posted 3 years ago #

    Hey there,

    I installed the Twitter widget, which works well, but automatically indents the tweets from the main heading. I'd like them all to be aligned, with no indent. Any idea how/where I can edit that?

    Thanks!

  2. jkovis
    Member
    Posted 3 years ago #

    Add this to your style.css file:

    . widget_twitter ul {
        padding: 0;
    }
  3. proudtobedad
    Member
    Posted 3 years ago #

    Unfortunately, that didn't do anything. Any other ideas? Here is the style code as it currently reads:

    '/* Widgets */

    /* Some widget link styles will need a little resetting for inline links */
    #sidebar .widget_categories ul li a,
    #footer .widget_categories ul li a,
    #sidebar .widget_twitter ul li a,
    #footer .widget_twitter ul li a {
    border: none;
    background: transparent;
    color: #DF7401;
    display: inline;
    line-height: inherit;
    padding: 0px;
    }
    #sidebar .widget_categories ul li,
    #footer .widget_categories ul li,
    #sidebar .widget_twitter ul li,
    #footer .widget_twitter ul li {
    padding-left: 0px;
    }

    /* Some list spacing for these widgets */
    #sidebar .widget_twitter ul li {
    margin-bottom: 1.5em;
    padding: 0;
    }'

  4. jkovis
    Member
    Posted 3 years ago #

    Can you verify that there is not a space between the '.' and 'widget_twitter' of the code you added?

    correct code:

    .widget_twitter ul {
        padding: 0;
    }
  5. proudtobedad
    Member
    Posted 3 years ago #

    There is no spacing. That code is what existed in the style sheet.

    Is there another place that the code might be, which is overriding the style sheet code?

Topic Closed

This topic has been closed to new replies.

About this Topic