Category: AI Conversations

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’s 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’s 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: […]

Monolog Logger Error Fix

User Fatal error: Declaration of MonologLogger::emergency(Stringable|string $message, array $context = []): void must be compatible with PsrLogLoggerInterface::emergency($message, array $context = []) in /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php on line 683 Fatal error: Uncaught Error: Class "MonologLogger" not found in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php:60 Stack trace: #0 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php(38): MonologHandlerAbstractHandler->setLevel() #1 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(49): MonologHandlerAbstractHandler->__construct() #2 /var/www/html/vendor/illuminate/log/LogManager.php(187): MonologHandlerStreamHandler->__construct() #3 /var/www/html/vendor/illuminate/log/LogManager.php(141): IlluminateLogLogManager->createEmergencyLogger() #4 /var/www/html/vendor/illuminate/log/LogManager.php(124): IlluminateLogLogManager->get() #5 /var/www/html/vendor/illuminate/log/LogManager.php(681): […]

Custom Accordian Shortcode Development

User Assistant You're close! However, your shortcode needs to properly extract and display the uploaded image (icon) for each accordion item. Here’s how you can modify your code: ### Fixes & Improvements: 1. **Fix the image field extraction** – You’re currently trying to print `$item['image']`, but in your `fusion_builder_map`, the field is named `'icon'`. 2. […]

Fusion Builder Repeater Image Upload

User array( 'type' => 'upload', // Use 'upload' type 'param_name' => 'image_id', // Store the attachment ID 'label' => __('Image (Optional)', 'fusion-builder'), 'description' => __('Upload an image for this accordion item.', 'fusion-builder'), 'preview' => true, // Enable preview ), above code not work in fusion bulder repeater secton Assistant The `upload` field type in Fusion […]