Forums

Resize the title (7 posts)

  1. ifreak
    Member
    Posted 5 months ago #

    Hi! Someone know how i resize the title in a post? I want it to be smaller :)

    My theme is Twenty Eleven 1.3
    Sorry for my english.

  2. Peter Wooster
    Member
    Posted 5 months ago #

    Use CSS. The title might have a class="entry-header" or something similar, it depends on the theme. You can examine it using firebug or the Safari Web Inspector or IE Developer Tools to find out how it is styled at present.

  3. Peter Wooster
    Member
    Posted 5 months ago #

    In Twenty Eleven, the class for the title is "entry-title" and it's style is set to 26px around line 730 of style.css. You can either modify the style in the theme or set up a child theme that consists or a style.css file that will override the one in the parent theme.

    /peter

  4. set up a child theme that consists or a style.css file that will override the one in the parent theme.

    You really, Really, REALLY want to follow that last part of the advice. Make a child theme now and save yourself pain an suffering later when the theme gets updated.

    It's easy to do and all you are modifying is the CSS.

    http://codex.wordpress.org/Child_Themes

  5. ifreak
    Member
    Posted 5 months ago #

    I'm not so good in CSS, is it hard to make a child theme?

  6. Peter Wooster
    Member
    Posted 5 months ago #

    Jan's link shows how to set up a child theme. It's easy and CSS is worth learning. All you need in the css is
    .entry-title {font-size:20px;}
    to make it 20 pixels high.

  7. ifreak
    Member
    Posted 5 months ago #

    Thanks for help!

Reply

You must log in to post.

About this Topic

Tags