Blog

jQuery Click Event Examples

User jquery click event Assistant In jQuery, the `.click()` event is used to execute a function when an element is clicked. You can bind a click event in multiple ways: ### 1. **Basic Click Event** $(document).ready(function(){ $("#myButton").click(function(){ alert("Button clicked!"); }); }); 馃搶 **Explanation:** When `#myButton` is clicked, an alert box will appear. — ### 2. […]

Fusion Carousel Mobile Issue

User fusion-image-carousel fusion-image-carousel-auto fusion-carousel-border not working in mobile Assistant If your **Fusion Image Carousel** (from Avada) is not working on mobile, here are a few things to check and troubleshoot: ### 1. **Check Avada's Mobile Settings** – Go to **Avada > Options > Fusion Builder Elements > Image Carousel**. – Ensure **Disable Carousel on Mobile** […]

Automate New Customer Check

User At the moment, we manually search a customers billing/shipping name and postcode (if different) across the whole orders database for every order we receive. This allows us to check their order history so we can action the order accordingly. As you can imagine, this is very time-consuming and adds burden on the system and […]

Search Box Toggle Functionality

User Assistant You can achieve this by using JavaScript to toggle the visibility of the search box when clicking the search icon. Here鈥檚 how you can do it: ### Steps: 1. **Ensure the search box is hidden by default** using CSS. 2. **Add a JavaScript click event** to toggle the search box visibility when clicking […]

New Order Check Implementation

User At the moment, we manually search a customers billing/shipping name and postcode (if different) across the whole orders database for every order we receive. This allows us to check their order history so we can action the order accordingly. As you can imagine, this is very time-consuming and adds burden on the system and […]

Mobile Menu Close Button Issue

User Avada fusion builder Mobile menu cross button not showing Assistant If the mobile menu cross (close) button is not showing in Avada Fusion Builder, try the following troubleshooting steps: ### 1. **Check Theme Options** – Go to **Avada > Options > Menu > Mobile Menu** and ensure that the **Mobile Menu Close Icon** is […]

Custom Accordian Code Implementation

User Assistant Here鈥檚 the CSS and JavaScript for your custom accordion to ensure it functions smoothly and looks good: ### **CSS (styles for accordion functionality and design)** .custom-accordian-container { max-width: 800px; margin: auto; } .custom-accordian .accordion-item { border-bottom: 1px solid #ddd; } .custom-accordian .accordion-header { background: #f8f8f8; padding: 12px 15px; font-size: 16px; font-weight: bold; cursor: […]

Accordion Toggle Functionality

User // jQuery(document).ready(function($) { // $('.custom-accordion .accordion-header').on('click', function() { // var $content = $(this).next('.accordion-content'); // $('.accordion-content').not($content).slideUp(); // Close other open items // $content.slideToggle(); // Toggle the current item // }); // }); document.addEventListener("DOMContentLoaded", function () { let accordions = document.querySelectorAll(".custom-accordian .accordion-header"); accordions.forEach((accordion) => { accordion.addEventListener("click", function () { let parent = this.parentElement; let content = […]

Automating Customer Order Checks

User At the moment, we manually search a customers billing/shipping name and postcode (if different) across the whole orders database for every order we receive. This allows us to check their order history so we can action the order accordingly. As you can imagine, this is very time-consuming and adds burden on the system and […]

CSS Keyframe Naming Issue

User .training-tabs-widget { display: flex; gap: 2rem; margin: 2rem 0; background: #fff; border-radius: 8px; padding: 2rem; box-shadow: 0 2px 4px #000; // Left navigation .training-tabs-nav { flex: 0 0 250px; border-right: 1px solid var(–color-grey-light, #e5e5e5); padding-right: 2rem; .training-tabs-list { list-style: none; margin: 0; padding: 0; } .training-tabs-item { margin-bottom: 1rem; a { display: block; padding: […]