Changing page title in twentyeleven
-
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.
- The topic ‘Changing page title in twentyeleven’ is closed to new replies.