WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] aligning blog posts centre (4 posts)

  1. lionnes
    Member
    Posted 3 years ago #

    hey guys
    my blog posts are all aligned centre on style css, but when published, posts look a little more aligned to the left, this include post titles and pictures.
    I have tried editing css to any avail.
    Here is a link to my blog, I am using desciple theme

    http://www.lionnes.com/blog

    any help will be appreciated
    thxs

  2. Josh
    Member
    Posted 3 years ago #

    For the post titles, the CSS code you would want to try would be something like:
    .post-title h1{
    text-align:center;
    }
    The smart way to edit your CSS is to put all your changes in a child theme.

  3. lionnes
    Member
    Posted 3 years ago #

    thanks, that did the trick

  4. Josh
    Member
    Posted 3 years ago #

    You're welcome, you can set this topic to resolved over in the right sidebar.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags