Title: Trigger a link via css
Last modified: June 21, 2022

---

# Trigger a link via css

 *  Resolved [techgil](https://wordpress.org/support/users/techgil/)
 * (@techgil)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/trigger-a-link-via-css/)
 * We love this Simple Side Tab plugin. We would like to trigger a link via css 
   just as we did from our top menu bar under HOME/CONTACT on our domain name.
 * Basically the link “#bsd-home” trigger the LIVE Chat panel via this css class“
   birdseed-link”.
 * This is the link code we use for txt only just in case.
    [Live Chat](https://wordpress.org/support/topic/trigger-a-link-via-css/?output_format=md#bsd-home)
   Where and what css code should we add to Simple Side Tab plugin in order to accomplish
   this? I can access and edit any Simple Side Tab PHP file on Cpanel. Please let
   us know if this is possible.
 * Thank You!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftrigger-a-link-via-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [agentquay](https://wordpress.org/support/users/agentquay/)
 * (@agentquay)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/trigger-a-link-via-css/#post-15758439)
 * Hi [@techgil](https://wordpress.org/support/users/techgil/)
 * Add the following code to your theme’s functions.php file:
 *     ```
       if ( is_plugin_active('simple-side-tab/simple_side_tab.php') ) {
   
       	add_action('wp_footer', 'rum_add_birdseed_class_to_sst', 999);
       	function rum_add_birdseed_class_to_sst() {
       	echo '<script>document.getElementById("rum_sst_tab").classList.add("birdseed-link");</script>';
       	}
   
       }
       ```
   
 * That should add the birdseed-link class name to the tab.
 *  Thread Starter [techgil](https://wordpress.org/support/users/techgil/)
 * (@techgil)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/trigger-a-link-via-css/#post-15761790)
 * Thank You so much Agentquay for taking the time to send me the code. There were
   different instances of functions.php as we use DIVI and a child Theme. I added
   it under the path …/public_html/wp-content/themes/enix/functions.php
    Just want
   to make sure it’s correct. Seems to work though!
 * We really wanted to have these 2 great plugins, rumspeed.com/simple-side-tab 
   and birdseed.io working together. Achieved!
 * Thanks again Agentquay and Scot for all your Help.
    -  This reply was modified 3 years, 11 months ago by [techgil](https://wordpress.org/support/users/techgil/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Trigger a link via css’ is closed to new replies.

 * ![](https://ps.w.org/simple-side-tab/assets/icon-256x256.png?rev=2457936)
 * [Simple Side Tab](https://wordpress.org/plugins/simple-side-tab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-side-tab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-side-tab/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-side-tab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-side-tab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-side-tab/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [techgil](https://wordpress.org/support/users/techgil/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/trigger-a-link-via-css/#post-15761790)
 * Status: resolved