WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Bullets Are Centering - CSS Style Bug (4 posts)

  1. lutang
    Member
    Posted 1 year ago #

    Hi there,

    I have what's probably a simple fix for you all, but a hair-pulling frustration for me...

    I have a bulleted list here:
    http://irvingfilms.com/making-border-break-movie-success/

    As you can see, the bullets are all the way left, and the text is centered. In the WordPress editor, everything looks "normal" (bullets slightly indented, and text left-aligned right after it). This tells me it's probably a styles thing, in my CSS file, right?

    Please help?

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You have text-align: center in this CSS:

    .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    It's inherited by contained elements.

  3. lutang
    Member
    Posted 1 year ago #

    That did it. Thanks! :)

  4. lutang
    Member
    Posted 1 year ago #

    If someone is curious what exactly I did, I just REMOVED the ".entry-content" line, because the other lines I wanted to remain centered (ie header).

    thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic