post titles in twenty eleven

Featured Theme Forums General Discussion post titles in twenty eleven

This topic contains 5 replies, has 2 voices, and was last updated by  zeaks 5 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17595

    fassirelli
    Participant

    Behind your suggestion on the forum wp.org I managed to move to the center post titles by copying this code in style.css:

    .entry-header {
    text-align:center;
    }

    It worked but when the titles are too long part of the title overlap!
    What should I do because the final part of the title to wrap and is centered itself?
    Thank you

    #17596

    zeaks
    Keymaster

    Hi Fassirelli, Could you link your site so I can have a look?

    #17597

    fassirelli
    Participant

    Hi Zeaks.
    this is one of the post page where I have the problem:

    http://www.mammainoriente.com/i-viaggi/la-cambogia-che-ti-entra-dentro-in-24-ore-la-citta-di-angkor/

    The last word of the title (Angkor) appears in the center of the first line of title.
    the only other change I made was to add more white space above and below the title, but I do not think that’s the problem
    Thank you

    #17598

    zeaks
    Keymaster

    I don’t see a problem with your post title on that page, here is a screenshot of how it appears to me in Chrome and Firefox http://postimg.org/image/nraik1j0n/

    Could you take a screenshot so I can see how it looks for you?

    #17599

    fassirelli
    Participant

    I’m sorry Zeaks,
    I’m just working in a change fonts plugin so the web site appears with default font that is smaller..
    Now I finished and you can see with my correct family

    Anyway this is my screenshot

    http://postimg.org/image/sktzy194v/

    #17600

    zeaks
    Keymaster

    It looks like Twenty Elevens CSS is causing problems with the centered text. Line 720 which reads

    .entry-title,
    .entry-header .entry-meta {
    	padding-right: 76px;
    }

    Try adding this to your child theme CSS

    .entry-title,
    .entry-header .entry-meta {
    	padding-right: 0;
    }
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.