• Hello,

    I have spent an enormous of time trying to figure out something that seems like it shouldn’t be this difficult. Thus far, none of the answers in the forum have worked. (Also, please note: I am not experienced with CSS and code, and have tried to fix the issue with searching for others’ posts.)

    Problem: I don’t like the size and the boldness of the page titles (headers?) on twentyeleven. (Not referring to the header that is the masthead, at the top of the site above the header image, but to the titles that designate the topic of each page.) I think these are header2 titles, if that makes a difference.

    What I have tried: I managed to create a child theme, and using a forum answer from someone else’s post who was having the same problem, uploaded this:

    /*
    Theme Name: Child theme for page headers
    Theme URI: https://kcraft.info/
    Description: Child Theme for twentyeleven page headers
    Author: Kaerensa
    Author URI: https://kcraft.info/
    Template: twentyeleven
    Version: 1.3
    */

    @import url(“../twentyeleven/style.css”);
    .singular .entry-title {
    color: #000;
    font-size: 24px;
    font-weight: normal;
    line-height: 48px;
    }

    (I changed the font-size from the original 48px, and the weight from the original bold.)

    When I activated the child theme, it totally messed up the entire theme, changing everything, including the header image. No idea why. Deactivated the child them, everything went back to normal. That’s good, but I’m still left with huge page titles.

    Can anyone help? Very seriously appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Remove these two lines from your child theme’s style.css file

    Theme URI: https://kcraft.info/

    and

    Author URI: https://kcraft.info/

    and try again.

    Thread Starter kaerensa

    (@kaerensa)

    Thanks for the suggestion, but removing the Theme and Author URIs from the style.css file, then re-uploading and activating, did the same thing as when that file had the URI lines: changed the entire theme.

    When I activated the child theme, it totally messed up the entire theme, changing everything, including the header image.

    if you activate a child theme, you need to set any theme options and custom headers etc again;

    can you provide a link to your site with the child theme activated?

    Thread Starter kaerensa

    (@kaerensa)

    For anyone else who has this problem:

    After searching on google and wordpress forums for hours, and trying multiple suggestions (none of which seemed to work), I finally got the issue resolved by tech consultant Rick Piazza ([email protected]) who provided a video tutorial that made making the change very easy.

    On your dashboard, go to the appearance tab, then to editor, then into your css stylesheet (style.css), located on the lower right side of the screen, to pull up your css coding.

    Do a search using control F, type the following into the search box:

    .singular .entry-title {

    Right under here is where you will be able to modify the color, font size and weight (normal, bold, etc.) for the page titles.

    Thanks again to Mr. Piazza

    Thread Starter kaerensa

    (@kaerensa)

    additional key words: header, heading, H2, h2

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing page title in twentyeleven’ is closed to new replies.