center menu and blog entries in twenty eleven theme
-
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?
-
the centers do not match
Please elaborate.
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!
well, that didn’t work. hmmm… well, the “hi” is supposed to be underneath the “our story”.
Try adding:
.entry-title { padding: 0; } .entry-content { text-align: center; }
Thank you!!!!!!
It worked!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!
Remove the padding on
.entry-meta
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!
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].Yeah… I don’t know… I just cleared the cache. I think that my brain is kinda fried.
- The topic ‘center menu and blog entries in twenty eleven theme’ is closed to new replies.