Oh yes. Here is yr propblem in yr CSS
h2 {
width: 508px;
font-size: 8pt;
background: url(images/date.gif) no-repeat;
height: 23px;
margin: 0;
padding-top: 4px;
padding-left: 5px;
color: #0E2E4A;
}
Thread Starter
dlee
(@dlee)
Thanks for the reply, but I don’t think this solves my problem Let me see if I can explain it better. h2 is a class that I want on the title bars for my posts and not on the links part to the right. I can easily make another class and call it h3 and remove the
background: url(images/date.gif) no-repeat; but that doesnt solve my problem because my links will still be getting the class info from h2.
To reiterate- where can i find the place that I can change the class that the links at the right of the page pull from so I can make them pull from another class? I am guessing it’s in the php somewhere and I checked all over.
Again, here is the link to the page for some more help.
http://www.statusweb.net/blogs/dansblog/
Thanks!
Not sure if this will help but I’ll post it anyway
There might be a file called sidebar.php in the theme folder or whatever so you might want to look in there. Im not sure about the structure of your theme or the one you are using so it could be any file.
Look up the appropriate template tag documentation and see if you could customize its output.
http://codex.ww.wp.xz.cn/Template_Tags
Another way would be to do something like the following.
<h2>Some title</h2>
...
<div id="container">
<h2>Another title</h2>
...
</div>
You could, then, style those two h2 differently
h2 {
with image
}
#container h2 {
without image
}
I do not know what you are talking about. h2 / h3 are not classes at all. What you need to do is identify the proper selector and style in the CSS. These php suggestions are not helping at all. And h2 is not used in the posts. It is h3 .storytitle.The date is h2. So keep it in. You need to add #menu h2 in the CSS and restyle that.
Thread Starter
dlee
(@dlee)
Hmmm.. maybe I don’t know what I’m talking about. But he’s what I’ve deducted so far. Both my date and the title of the links options at the right are h2 elements.
I spoke wrong when i said class, but they are indeed elements and this is what I have for it
h2 {
width: 508px;
font-size: 8pt;
background: url(images/date.gif) no-repeat;
height: 23px;
margin: 0;
padding-top: 4px;
padding-left: 5px;
color: #0E2E4A;
}
I don’t want my links at the right to be h2, only the date. How do i get rid of h2 over there? Sidebar.php has nothing useful.
You need to add #menu h2 in the CSS and restyle that.
Rant: This forum is awash with complicated php template hoodickery for what are very simple CSS questions. Find the selector. Style in CSS. That solves 90% of the problems here.