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

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    the centers do not match

    Please elaborate.

    Thread Starter 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

    Thread Starter lala100

    (@lauren-and-joe)

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

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try adding:

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


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

    Thread Starter lala100

    (@lauren-and-joe)

    Thank you!!!!!!
    It worked!

    Thread Starter 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!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Remove the padding on .entry-meta

    Thread Starter 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!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Thread Starter 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.