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


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

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


    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?


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

    <a href= 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/Developer, Nuts and Bolts Media
    I provide development and training services for 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.