WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] center menu and blog entries in twenty eleven theme (11 posts)

  1. lala100
    Member
    Posted 1 year ago #

    I have centered the navigation menu and the posts on my wordpress site, but the centers do not match. Any ideas on how to fix this?

    http://www.GrimmAles.com

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    the centers do not match

    Please elaborate.

  3. lala100
    Member
    Posted 1 year ago #

    I would like the center of the navigation menu, the center of the entry title, and the center of the entry body to line up.

    If they did, the entry title (hi) and the entry body (hi) would be directly underneath the words "our story".

    -------------------------------

    our beers our story contact

    hi

    hi

    --------------------------------

    Let me know if that doesn't make sense. Thanks!

    http://www.GrimmAles.com

  4. lala100
    Member
    Posted 1 year ago #

    well, that didn't work. hmmm... well, the "hi" is supposed to be underneath the "our story".

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try adding:

    .entry-title {
     padding: 0;
    }
    
    .entry-content {
     text-align: center;
    }

    http://www.w3.org/Style/Examples/007/center.en.html

  6. lala100
    Member
    Posted 1 year ago #

    Thank you!!!!!!
    It worked!

  7. lala100
    Member
    Posted 1 year ago #

    One more question...

    I just added the date to my posts, and I tried to center it in my style.css file by adding:

    .entry-meta {
    text-align: center
    }

    .entry-meta a {
    text-align: center
    }

    -----but it didn't seem to work.

    Could you give me some more advice?

    and while I'm asking...
    Do you know how to remove the words"posted on" from each entry but leave the date?

    Thank you!

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Remove the padding on .entry-meta

  9. lala100
    Member
    Posted 1 year ago #

    That didn't seem to work. Not sure why...

    I just decided to get rid of the date altogether. I'll just type it in manually for each post.

    Thanks!

  10. Andrew
    Forum Moderator
    Posted 1 year ago #

    Did you clear your cache when you tried removing the padding?

    I just emulated the .entry-meta text and couldn't find an issue [screenshot].

  11. lala100
    Member
    Posted 1 year ago #

    Yeah... I don't know... I just cleared the cache. I think that my brain is kinda fried.

Topic Closed

This topic has been closed to new replies.

About this Topic