• Resolved adammaciasz

    (@adammaciasz)


    I am using your theme and trying to make the call to action button clickable.

    I’ve tried adding a “a href” and using onclick, but have not had any click having it click through to another page.

    Here’s the portion of the code
    . ‘</p>’
    .'<p><button type=”button” class=”btn btn-hollow btn-lg”>’
    ._x( ‘Button Name’, null, ‘flat-bootstrap’ ).</button>'</p>’

Viewing 1 replies (of 1 total)
  • Theme Author Tim Nicholson

    (@timnicholson)

    I’d just do it like this:
    <p><a href="http://whatever.com/" class="btn btn-hollow btn-lg">Button Name</a></p>'

    The only reason the above code is more complex than that is to allow for foreign language translation of the theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Make Button clickable’ is closed to new replies.