Trouble changing size of post titles in blog
-
And this part is still messed up:
.post-title a,:visited {Should look like this
.post-title a:visited {Sorry. I accidently copied the last bit from an older notepad file. Here’s what I have currently.
.post-title,
.post-title a,
.post-title a:visited {
border-bottom: 1px solid #e3e3e3;
font-size: 200px;
font-family: Trebuchet, Trebuchet MS, Arial, sans-serif;
padding-bottom: 5px;
text-align: left;
}Ugh… Syahir is going to kill me…
Actually, go to http://www.pastebin.com and post your entire css file. You don’t have to register. When you are done, click the submit button… and copy the url and paste it here. Then I can go look at it.
Mod
Actually, you need to add a curly bracket to the end of line 197. The lack of it is preventing the rest of your code from executing properly.
Admin
Ken beat me to it. Darn.
Mod
You can try running your stylesheet through a CSS validator, such as http://jigsaw.w3.org/css-validator/ to identify problems like this. Saves a lot of headaches.
Mod
It’s this line:
.entry-content, .entry-content p, .slider_post_entry p,
.entry-content ul, .entry-content ol, .comment-entry ol{
line-height: 22px;HOORAY…. he got it 🙂
OH MY GOSH! You did it!!!! Thank you SOOOO much!
And thanks for the CSS validator tool. Although it’s pretty overwhelming to see all the errors that come back. I’m guessing most are for elements that I don’t actually need for my specific site. I’ll go through each line closer now that the font problem is solved 🙂
I do have one more question, if you guys don’t mind. On my old site I have an image to the left of my post titles. The code from blogger looks like this
<div class='post hentry'>
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<h3 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><img src='http://i911.photobucket.com/albums/ac319/zealforadeal/orangedotnew.gif' style='border-width: 0px;'/>
<data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3>
</b:if>How would I write that for wordpress? And where would I put it?
- You must be logged in to reply to this topic.
