Skip to content

Latest commit

 

History

History

README.md

Header Buttons Add

Synopsis

Add buttons to the site header.

Version

  • 0.10.0

SS Version

  • 7.1

Dependencies


Install Options

  • CDN Hosted

    Use this option for the quickest way to install this effect (files hosted externally on the jsDelivr, a CDN)

    • Add code from file header buttons add options.less to Website > Pages > Custom Code > Code Injection > FOOTER. Read the code for any instructions within.

    • Add code from file header buttons add.less to Website > Pages > Custom Code > Custom CSS.

    • Refer to Using the CSS Editor for details.

    • Add code from file header buttons add options.html to Website > Pages > Custom Code > Code Injection > FOOTER. Read the code for any instructions within.

    • Add the following code to Website > Pages > Custom Code > Code Injection > FOOTER.

      <!-- begin TWC Header Buttons Add -->
      
        <!-- License < https://github.com/tomsWebConsulting/twcsl/blob/main/LICENSE.txt#L1 > -->
        
        <script src="https://cdn.jsdelivr.net/gh/tomsWebConsulting/twcsl@3da1ecd6a66a90be1b80443aab847044500a218c/v7.1/Element/Header/Header%20Buttons%20Add/header%20buttons%20add.min.js" type="module"></script>
        
        <!-- end TWC Header Buttons Add -->
        
    • Refer to Add code to code injection for details.

  • On-site

    Use this option to install the full code of this effect (files hosted on your site).

Make a Donation

Please consider making a donation.

Changes

  • 2026-03-26

    • added CSS to adjust secondary and tertiary font size to match primary
    • bumped version to 0.10.0
  • 2025-04-19

    • remove dependency on jQuery
    • bumped version to 0.9.0
  • 2023-08-02

    • add support for secondary and tertiary button classes
    • bumped version to 0.8.0
  • 2022-03-01

    • fix for button text not centered when in column on desktop
    • bumped version to 0.7d1
  • 2022-01-11

    • added code for adding target attribute to buttons
    • bumped version to 0.7d0
  • 2021-07-22

    • fix issue with orientation on mobile, force column at 575px and below
    • use a less heavy hand manipulating margins, keeping closer to SS settings
    • bumped version to 0.6d1
  • 2021-05-23

    • better support for mobile
    • fix an issue with desktop buttons continuing to display when in mobile
    • allow user to more easily change the direction and order of the buttons. using LESS mixins the choices are row or column direction and normal or reverse order
    • bumped version to 0.6d0