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

  1. lutang
    Posted 3 years 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:

    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
    Forum Moderator
    Posted 3 years 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
    Posted 3 years ago #

    That did it. Thanks! :)

  4. lutang
    Posted 3 years 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