Woocommecre Category Fix
jQuery(document).ready(function( $ ){ var checkCategory = jQuery(“body.archive.tax-product_cat .product-category”); if(checkCategory.length > 0){ jQuery(“body”).addClass(“only-products-cat”); } });Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
jQuery(document).ready(function( $ ){ var checkCategory = jQuery(“body.archive.tax-product_cat .product-category”); if(checkCategory.length > 0){ jQuery(“body”).addClass(“only-products-cat”); } });Continue reading
jQuery(document).ready( function($) { $(‘#main-content’) .attr(‘role’, ‘main’) .attr(‘tab-index’, ‘-1’); });Continue reading
jQuery( document ).ready( function($) { $(‘.et-pb-icon’).attr(‘aria-hidden’, ‘true’); });Continue reading
// Delayed scroll to hash (e.g., #book-call) after Calendly and Zoho Forms load document.addEventListener(“DOMContentLoaded”, function () { const targetHash = window.location.hash; function scrollToHash() { if (targetHash) { const el = document.querySelector(targetHash); if (el) { el.scrollIntoView({ behavior: “smooth”, block: “start” });…Continue reading
/** * WordPress Dashboard Widget Framework Styles */ :root { –transition-speed: 0.3s; –border-radius: 8px; –primary-color: #4a6cf7; –primary-hover: #3a5ce5; –secondary-color: #6c757d; –success-color: #28a745; –danger-color: #dc3545; –warning-color: #ffc107; –info-color: #17a2b8; –light-color: #f8f9fa; –dark-color: #343a40; –background-color: #f8f9fa; –card-background: #ffffff; –text-color: #212529; –border-color: #dee2e6;…Continue reading
/* Author: Sumaiya , Click up Doc: https://app.clickup.com/36636088/v/dc/12y1dr-22535/12y1dr-24435 */ /* Des: This CSS is added to optmize the feature list “x” icon */ .eb-feature-list-item[data-icon=”fas fa-xmark”] .eb-feature-list-icon-inner { border: 2px solid #f40009!important; /* Add a red border */ } /* Completed…Continue reading
// Author: Sumaiya, Clickup Doc: https://app.clickup.com/36636088/v/dc/12y1dr-22535/12y1dr-24455 // Wait for the DOM to fully load before executing the script document.addEventListener(‘DOMContentLoaded’, function() { // Select the tooltip container element const tooltipContainer = document.querySelector(‘.tooltip-container’); // Select the tooltip text element within the tooltip…Continue reading
/* Author:Sumaiya , Clickup Doc: https://app.clickup.com/36636088/v/dc/12y1dr-22535/12y1dr-25095 */ /* Des: This CSS is added to make this class “feature-sticky-section” sticky */ .feature-sticky-section { position: -webkit-sticky; /* For Safari */ position: sticky; top: 57px; /* Adjust the top offset as needed */…Continue reading