• Resolved anpo

    (@anpo)


    Hello,

    I’ve been tinkering with WP on my new site, which uses the conzep theme and several sIFR fonts. Despite my relatively limited knowledge of HTML and CSS, I’ve managed to work out all the kinks, except for the silliest one: changing the color of the comment/leave a comment titles. Check it out here:

    https://misosouper.com/?p=1

    All I want to do is make the comment/leave a comment titles #000066 instead of black. Here’s the link to my stylesheet in the pastebin, in case that would help:

    https://wordpress.pastebin.ca/734731

    *Any* help would be appreciated…wrapping my brain around how to change those titles is driving me crazy! ??

    Thank you,

    Anna

Viewing 6 replies - 1 through 6 (of 6 total)
  • I would search your stylesheet for “respond” and “comments”

    The css file did not pull up when I went to pastebin, but a search of your source file for “leave a comment” pulls up

    <h3 id="respond">

    and “comments” was just above as

    <h3 id="comments">

    Thread Starter anpo

    (@anpo)

    Thank you for your helpful response…I *was* having difficulty finding those ids.

    Now that I’ve found them…then what? I’ve tried span tags, .tags, #tags, and the colors just aren’t budging. At this point, I’m not sure if I’m placing the tags in the wrong place, or writing them wrong, or some other issue that I haven’t even considered.

    I’ve tried to upload my stylesheet again:

    https://wordpress.pastebin.ca/735537

    I really appreciate your advice ??

    I searched your stylesheet and it doesn’t look like it contains the “respond” id. That would be the problem ??

    Your theme is calling an id in the stylesheet that doesn’t exist. That shouldn’t be a problem. You’ll just need to add one.

    You might checkout this site that came up in a google search for “using css id”

    https://webdesign.about.com/od/css/a/aa020899.htm

    I haven’t brushed up on CSS in a while, but I believe the difference between classes and IDs is designated by a period and a hash sign like so:

    .classname
    #IDname

    So, here’s a stab at it. Try pasting on line 88
    #respond {font-color:#FF0000;}

    Save, reload – if it turns the font red, you’ve hit the right spot. You may need to throw an “h3” in the code somewhere, I just don’t remember right now.

    Thread Starter anpo

    (@anpo)

    So this is bizarre:

    I added the code, and I can change the font size and style of the “respond” and “comments” tags, but not the color. For whatever reason, the blue color just won’t stick!

    Strange, right?

    Here’s the new stylesheet:

    https://wordpress.pastebin.ca/735770

    Check out lines 97-107.

    Again, thanks! This is your good deed for the day ??

    This has happened to me before.

    You have a top-level setting that is going to apply regardless of the lower level settings. Inside your h3 call on lines 86-89 you set the values for all h3’s. I’m pretty sure these are going to override the lower level settings of the respond.

    Line 89: font-color:000066

    That’s blue. ??

    My guess is that if this doesn’t fix it, you may need to look for anything else that is affecting that font. For this, you should definitely get “FireBug” and extension for Firefox. Firebug will let you click on the text and it will show you all calls that make up that font.

    Hope this helps

    Thread Starter anpo

    (@anpo)

    Got it! After more tinkering, I figured out the problem was with the sIFR code. Thanks again for your help…I never would have found FireBug if you hadn’t directed me to it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘changing color of comment/leave a comment’ is closed to new replies.