• Hi,

    I wonder if someone could possibly help.

    I have just starting posting on my newly created blog.
    And I noticed that the posts I create have these html codes:
    <div><span style=”font-size: x-small; font-family: Arial;”> </span></div>

    This line of HTML codes for the font and font size seemed to have been created automatically.

    However, if I delete the HTML codes, leaving just
    <div> </div>
    I get the font and font size that I would like to use!

    But I don’t really want to have to delete these codes every time I post.
    Is there a setting I could change?

    Thanks so much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Don’t ever recall seeing that code generated by WordPress, do you have any plugins installed?

    Anything that interacts with the post editor or posts specifically?

    Thread Starter davidlll

    (@davidlll)

    Thanks so much for the quick reply.

    As far as I know – it was just a standard installation using the ubiquitous Kubrick theme.

    Just opened up my 2.9.2 installation and created a post as a test, this is the output from the post content specifically.

    <p>Hello this is a test post written by t31os.</p>
    <p>And this is some text on a new line in that test post.</p>

    The theme wraps that in ..

    <div class="entry">
    // Content would be here
    </div>

    No styling as seen in your opening post though.

    Do you see that code in the editor? (If so, there may be functions in the theme adding that code, if not, then one of the theme template files must be the culprit).

    Thread Starter davidlll

    (@davidlll)

    Yes I see the styling codes when I switch from Visual to HTML mode.

    I think you are right – must be some function in the theme that’s setting the layout and look to the Kubrick theme house-style!

    I shall go and see if I could tinker with the theme codes.

    Thanks!

    Happy to help.

    Let me know if you get stuck.. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Setting the default font for posts’ is closed to new replies.