1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Is there a way to change visual builder layout for custom module

Discussion in 'Free Divi Community Forum' started by pmb88, Mar 1, 2022.

  1. pmb88

    pmb88 New Member

    Currently, I use a blog module, with a code block with javascript to make it a carousel on the home page. The carousel js modifies/adds new elements to make it work. However, the user doesn't like how it shows on the visual builder, as it is showing as blog module layout not the carousel when they exit and the javascript runs.

    I was thinking of making a custom plugin of this. As far as I've researched theres an extension provided that would create the necessary files and to be concerned about only two files the php and the jsx. My question is, is it possible to have two different layouts, depending upon whether they are in the visual builder? The documentation doesn't explicitly say.
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Beautify your Divi archive / category page with 15 different premade blog designs:Learn More