Forums

Strange fonts on Homepage posts (12 posts)

  1. Taniushka
    Member
    Posted 6 months ago #

    Hi. I have some problem and I don't know how I can figure it out. This is my site http://tattoo.kh.ua I changed fonts for this site in style.css and they are normal everywhere except Homepage posts. English text is ok, but Russian is quite strange. Where can I change this? What should I do?
    After long hours I can say, that only this changes homepage posts' fonts. But not only them. Pages' text changes to.

    .entry-content p { /*To change the post content style*/<br />
    	clear: both;<br />
    	text-indent: 40px;<br />
    	font-size: 19px;<br />
    	line-height: 140%;<br />
    	font-family: 'Jura','Neucha','Kelly Slab','Lobster','Tangerine','Apple Chancery','ITC Zapf Chancery','URW Chancery L','Times New Roman',cursive;<br />
    }

    But not only them. Pages' text changes to. Can you help me, please!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 6 months ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes. Once your child theme is active, we should be able to help with the customisation.

  3. Taniushka
    Member
    Posted 6 months ago #

    Ok. I did it. I made twentyeleven-child. Copied changed style.css from twentyeleven to child and changed the description to
    `/*
    Theme Name: Twenty Eleven Child
    Theme URI: http://wordpress.org/extend/themes/twentyeleven-child
    Author: Tatiana Shikota
    Description: Child theme for the Twenty Eleven theme
    Template: twentyeleven
    Version: 0.1.0
    */`.
    In twentyeleven I restored the default style.css. And now http://tattoo.kh.ua looks like awful. It seems that the child theme isn't loaded. What should I do next? Thanks for your help.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 6 months ago #

    Copied changed style.css from twentyeleven to child

    No - try re-reading the link I gave above. Only the changed CSS rules should be in the child's stylesheet.

  5. Taniushka
    Member
    Posted 6 months ago #

    Result is the same as in first variant. Here are all my changes:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    I have no idea why the same rule works in one place and works only for one language in another... I'm confused...

    Thank you very much. I appreciate your help!

  6. esmi
    Theme Diva & Forum Moderator
    Posted 6 months ago #

    Try using Firefox with the Firebug add-on for this kind of work.
    http://getfirebug.com/

  7. Taniushka
    Member
    Posted 6 months ago #

    this element is (in Firefox Firebug and Chrome Inspect element):

    <div class="entry-content">
    <p>
    bvjn d b орчтмчсм оамтавм ама мло авм амавмвамавм амавмвамавм амвамавмамавмс аммам амммвсм амаммм амамавмам аавмвама аммсммам мвмвапмвам вамвамвам вамвмавма вмвамвм вамвамвмма ммм мавмвам мвамавмав мавмвамв вамвамам мвамавма рртропотр рреот АПРапщрлапи прлоьжн
    <br>
    УЕрепТпркелор уртшарпку лортдшгпрке дукеопшегр кенркенр длпошавп дварао укабороа
    </p>
    </div>

    In css I have the rule for <p> (is displayed in Firebug too):

    .entry-content p {
        clear: both;
        font-family: 'Jura','Neucha','Kelly Slab','Lobster','Tangerine','Apple Chancery','ITC Zapf Chancery','URW Chancery L','Times New Roman',cursive;
        font-size: 19px;
        line-height: 140%;
        text-indent: 40px;
    }

    What I'm doing wrong?

  8. esmi
    Theme Diva & Forum Moderator
    Posted 6 months ago #

    Try removing that text and re-typing it.

  9. Taniushka
    Member
    Posted 6 months ago #

    The same(((

    And what interesting, when I use font-family: 'Times New Roman'; everything is OK.

    If I don't find some solution, can I change only homepage posts' font to Times New Roman (pages should be as they now?

  10. esmi
    Theme Diva & Forum Moderator
    Posted 6 months ago #

    The font is not be applied via CSS. It appears to be "embedded" (for want of a better term) in the text that you are adding to that page. You can even see it in the page's source markup. Try removing the text and typing in something else.

  11. Taniushka
    Member
    Posted 6 months ago #

    I still don't know what to do((( How can a set individual style for homepage posts. For example I want only posts on my homepage to be Times New Roman. Thanks for your help.

  12. Taniushka
    Member
    Posted 6 months ago #

    And what interesting, when I set font-family: Times new roman directly in post through web interface, it applies good. I need a result as in post on the top of the page: everything Times New Roman.

Reply

You must log in to post.

About this Topic