Support » Themes and Templates » center menu and blog entries in twenty eleven theme

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    the centers do not match

    Please elaborate.

    lala100

    (@lauren-and-joe)

    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

    lala100

    (@lauren-and-joe)

    well, that didn’t work. hmmm… well, the “hi” is supposed to be underneath the “our story”.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Try adding:

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


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

    lala100

    (@lauren-and-joe)

    Thank you!!!!!!
    It worked!

    lala100

    (@lauren-and-joe)

    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!

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Remove the padding on .entry-meta

    lala100

    (@lauren-and-joe)

    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!

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    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].

    lala100

    (@lauren-and-joe)

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘center menu and blog entries in twenty eleven theme’ is closed to new replies.