Background Button:

This section displays a button with link and background color.


Available Options:

  • Background button with link.

Output:

Code:


<div class="darkout-section">
{% include do-bg-button.html button-text="Read Documentation" button-link="#" class="text-center" %}
</div>


How to add in page:

  • Step1: Add background button to the page using the include statement.
  • Step2: On the page use

<div class="darkout-section">{% include do-bg-button.html button-text="Read Documentation" button-link="#" class="text-center" %}</div>

  • Attributes:
    • Button-text:
      • Use the button text here. (mandatory)
    • Button-link:
      • Use the button link here.
    • Class:
      • Use additional class here as include variable.