Skip to content

Instantly share code, notes, and snippets.

View Ulprus's full-sized avatar

Luke Allen Ulprus

View GitHub Profile
@Ulprus
Ulprus / styles.css
Last active January 10, 2024 09:57
/********** THIS SECTION INCLUDES FIXES FOR WOOCOMMERCE 8.4.0 **********/
/* Add Checkmark on ATC Button After Added */
.woocommerce #respond input#submit.added::after, .woocommerce a.button.added::after, .woocommerce button.button.added::after, .woocommerce input.button.added::after {
font-family: WooCommerce;
content: "\e017";
margin-left: 0.53em;
vertical-align: bottom;
}
@Ulprus
Ulprus / linktotabs.js
Created July 8, 2021 17:00
Scroll and Open Oxygen Tabs with Elements/Buttons
//run a function and set the attributes on the Oxygen element
//make another function which removes the active tab and hides its content, then add the active tab
//and reveal content for the desired tab:
function buttonA() {
// remove "tabB" active tab class and add oxygen hidden class to that content
var tabB = document.getElementById("_tab-647-534");
tabB.classList.remove("tabs-1874-tab-active");