• I just upgraded to 1.5 and to better show you my problem, you might want to see the blog.

    https://www.statusweb.net/blogs/dansblog/

    It seems as though the style for my links on the right are the same style as the title of each of my posts. Now I know how to change the styles around, but I would have to make them both look the same and I don’t want to to do that…

    My question- Where can I find the place to edit which style tag the links at the right pull from so I can make another one and have seperate ones for my links and titles. I can’t seem to find where WP pulls the information from.

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    https://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.
    https://codex.www.ads-software.com/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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with CSS I’m guessing’ is closed to new replies.