Support » Fixing WordPress » Adding button to header

  • Resolved klejejs

    (@klejejs)



    I have created website and I have slider in header. Is it possible to add “Getting Started” button on top of the slider? My webpage is krisjanis.ml

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello.
    Yes, you can customize your header.php file, adding a button as you like.
    This will require server-level access (or, FTP).
    An example button:
    <input type="button" value="Getting Started">
    or, HTML5:
    <button><a href="//dynamic WordPress link here">Getting Started</a></button>

    Have fun!

    Thank you for the answer, but this adds button on bottom of header. Is it possible to put it in the middle, on top of slider?

    @klejejs,
    First of Link is not working on button so remove button.
    and make <a href="//dynamic WordPress link here">Getting Started</a>

    Add css for display on slider.

    .hero-section > a {
      background: #000 none repeat scroll 0 0;
      cursor: pointer;
      margin-left: 85%;
      margin-top: calc(-25%);
      padding: 0;
      position: absolute;
      z-index: 10000;
    }

    Thank you! It worked. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding button to header’ is closed to new replies.