Post titles in Archives
-
Hi All, I can’t figure out how to change the font and font size in my post titles when you go through the archives.
http://notchangingmyname.com/category/dating-2/
I want “Practice what you preach” to be the same font as “Filed under Dating …” , which is:
font:1.288em ‘Trebuchet MS’, Trebuchet MS, ‘Times New Roman’, serif;
thanks!!
The blog I need help with is: (visible only to logged in users)
-
This will do it. I pulled out the duplicate trebuchet ms that was in your font stack.
.entry-title a { font: 1.288em 'Trebuchet MS', 'Times New Roman', serif; } -
Thanks! That worked to an extent, in that it fixed what I was asking for, but when i did that it made the title font on my home page much bigger (so i didn’t make the change).
Below is all my title-related CSS, including the code you just gave me.
.home .entry-title {
display:block;
position:absolute;
left:0;
overflow:hidden;
height:30px;
width:550px;
white-space:nowrap;
}.home .entry-thumbnail,.home .entry-content {
display:block;
padding-top:43px;
}.home .entry-title {
color:#333333;
font:1.288em ‘Trebuchet MS’, Trebuchet MS, ‘Times New Roman’, serif;
margin-bottom:.563em;
}.entry-title,.entry-title a {
color:#333333;
}
.entry-title a {
font: 1.288em ‘Trebuchet MS’, ‘Times New Roman’, serif;
}.entry-title a:hover {
color:#e89187;
text-decoration:none;
}body.single .entry-title,body.page .entry-title,body.attachment .entry-title,.archive-title {
border-bottom:1px solid #ccc;
font:1.288em ‘Trebuchet MS’, Trebuchet MS, ‘Times New Roman’, serif;
color:#333333;
line-height:1.45;Thanks again thesacredpath!
-
-
Sorry, I wasn’t thinking.
If you want to include the size as well, we can use a more specific selector and only apply your change to the archives style pages (tags, categories, archives) with this:
.archive .entry-title a { font: 1.288em 'Trebuchet MS', 'Times New Roman', serif; }
- The topic ‘Post titles in Archives’ is closed to new replies.