Use default input button to link to url

Community Forums Forums Design Tips and Tricks Use default input button to link to url

This topic is: not resolved

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  nutsandbolts 4 months, 4 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #98698

    newedgemarketing
    Member
    Post count: 34

    Hi I want to to use my themes (eleven40 pro) default input button to link to a different url.

    I want to add this input button along with some accompanying copy to link to a landing page.

    Does anyone know how i can do that?

    http://119.81.1.69/~newedgem/
    #98773

    nutsandbolts
    Moderator
    Post count: 3129

    I’m not sure I understand your question. Generally, to use a button, you would just create the link like this:

    <a href=http://site.com class="button">Link Anchor</a>

    Assigning the button class will give the link whatever attributes are in your stylesheet for .button – that’s usually the same look as the subscribe button in the eNews widget in your sidebar.

    I see the following in your stylesheet, which applies to inputs as well as the button class:

    button, input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: #000;
    border: none;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 16px 24px;
    text-transform: uppercase;
    width: auto;
    a: hover color:#ff0000;
    -webkit-font-smoothing: antialiased;
    }

    Hopefully that helps!


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.