Entry title & h1 font size. Need content centered.
-
AuthorPosts
-
adminb7699df015
MemberHi I have a couple questions:
1. I need the entry title and H1 smaller. I’ve added the following css and have not seen any changes reflecting
entry-title {
font-size: 15px;
}!important
h1 {
font-size 1.0rem:}!important2. I want the Blog title (h1) centered, how do I do that?
3. I would like to move the categories section to the right side or bottom or top. How do I do that
4. There is a space on the left side of the H1 how can I remove?
Overall all I’d like the font in the titles to be smaller & for the content to be centered.
The blog I need help with is: (visible only to logged in users)
binarymoon
Theme AuthorHi there
1) Font sizes:
You were close :) The
!important
needs to go directly after the rule, not the whole selector. And classes start with a dot.entry-title { font-size: 15px !important; } h1 { font-size 1.0rem !important; }
However, .entry-title is a h1 so you only need one of those rules. If you’re trying to change the site title then I would use the following instead:
h1.entry-title { font-size: 15px !important; } .site-title { font-size: 0.5rem !important; }
Note that the site-title can be an
h1
or ap
depending what page it’s on. And it’s 1rem by default.2) The blog title isn’t always a h1. Plus it’s positioned in an unusual way so it needs some different styles to center it:
.masthead .branding { right: 2.77778%; justify-content: center; }
3 & 4) Since your site is private I can’t see it which means I can’t help with these things. If you can make the site public then I can see how your site is setup and offer suggestions for making this possible.
If you don’t want to make it public then you can ask WordPress.com support for help. I made the theme but I don’t work for WordPress.com. Since your site has a Business plan, you’re entitled to live-chat and email support from wordpress.com staff, accessible here:
https://wordpress.com/help/contactI’m always happy to answer your theme related questions in this forum, but those other support avenues have more power than me so can offer support that I can’t.
Thanks – Ben
- The topic ‘Entry title & h1 font size. Need content centered.’ is closed to new replies.