WordPress.org

Forums

Buttercream
[resolved] Align post title to CENTER (7 posts)

  1. danicasati
    Member
    Posted 2 years ago #

    Hi.
    Editing STYLE.CSS, I can't align post titles on center.
    Any suggestion?

  2. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    When choosing to modify themes; try using a Child Theme or at least a Custom CSS plugin to manage your changes, rather than modifying the theme's files. This way you'll keep your modifications once you update the theme.

    CSS queries this specific are beyond the scope of WordPress forums, but you may find W3C's centring article and CSS Creator forum helpful.

  3. danicasati
    Member
    Posted 2 years ago #

    Of course, I'm using CUSTOM CSS on Jetpack.
    But I can't change post title alignment, I tried to edit various sections of the CSS, specially H1, ENTRY-TITLE with no results.

  4. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    Perhaps you're experiencing issues from lack of CSS specificity.

  5. Caroline Moore
    Member
    Theme Author

    Posted 2 years ago #

    We can't provide specific help unless you post the code you're trying, but this:

    h1.entry-title {
      text-align: center;
      width: 100%;
    }

    ... seems to work for me.

  6. danicasati
    Member
    Posted 2 years ago #

    Thank you, but it doesn't work in Buttercream 1.2.5.

  7. Caroline Moore
    Member
    Theme Author

    Posted 2 years ago #

    Mmm, it does on the demo. You'll have to post a link or some code samples, please.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic