• I was just wondering, what part of the CSS is to customize the buttons like on the comments’ “Submit” or the “<<Back” buttons?

Viewing 6 replies - 1 through 6 (of 6 total)
  • No-one has asked about that button before 🙂
    I’ll try and figure it out.
    Be back soon 🙂

    Okay…. this will make it into an image.
    1. Create the image you want to use as the button. Don’t make it too big obviously (20*20) should be okay.
    2. Upload the image to the main wp dir.
    3. In your CSS, put this:
    .button {
    repeat: no-repeat;
    margin-bottom: -5px;
    }
    4. Now edit ‘wp-comments.php’
    Find the line just above this bit:

    </form>

    Replace it with this line:
    <input type="image" src="bug.gif" name="submit" alt="Submit" class="button" />
    That’s it.

    *stares blankly at podz* – where did you get the idea that he wants to use an image? All that was asked about was what CSS controls how it looks….
    TG

    None does…… it’s just *there*, so you need to write something that does change it.
    As it’s a button, I figured an image may be cool – but I’ll change this to whatever 🙂

    Thread Starter jaqueen

    (@jaqueen)

    TG and podz,
    Yes, what I am trying to do is see if there is a part in the CSS to customize how the button looks like in regular CSS. I don’t want to make an image, but I think you have just misunderstood me. Does anybody else know how to do this part of the CSS?
    -Jaqueen

    I think this is what you are looking for Jaqueen, unless you have found it already:
    input.button {
    font-size: 11px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #000;
    padding: 0px;
    border:1px solid #000;
    background-color:#fff;
    }
    Then, in your file you need to do this:
    <input class="button" type="submit"

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Another part of the CSS’ is closed to new replies.