WordPress.org

Ready to get started?Download WordPress

Forums

Adjusting style of a sidebar widget? (4 posts)

  1. bobtem
    Member
    Posted 5 years ago #

    Please see my site at http://www.bobtema.com/

    My question: on the "quote of the day" sidebar widget, how do i control the left margin of the text? Right now it is indenting the quote text too far in... I just want it to align left with the rest of the text in that widget.

    Is there a CSS file for each widget, or some other file that controls it styling?

    Please advise.

  2. Your widget appears to be picking up the style associated with your 'blockquote' element in your stylesheet.

    Try using this CSS element to specifically address your Quote of the Day widget:

    li#qotd.widget blockquote{
      margin: 14px;
    }
  3. bobtem
    Member
    Posted 5 years ago #

    Cais,
    Do I add that to the style sheet and, if so, where? Or do I replace some other style in the sheet?

  4. @bobtem - You would add that to the end of your style.css file.

Topic Closed

This topic has been closed to new replies.

About this Topic