by Suzanne Whitby | Aug 11, 2024 | Tips, tutorials & #divi
#divitips Add page name to contact form Why might this be useful? To work out which page people were on when they submitted a page. add_filter(‘et_pb_module_shortcode_attributes’, ‘dbc_add_post_link_to_contact_form’, 10, 3); function...
by Suzanne Whitby | Jul 28, 2023 | Tips, tutorials & #divi
How to quickly insert placeholder text into your academic writing TLDR: This is a short tutorial to show you how to automatically turn a combination of characters – for example, .cite – into formatted text within your MS Word or other MS Office file so...
by Suzanne Whitby | Dec 20, 2022 | Tips, tutorials & #divi
#divitips Correct the anchor spacing Add the following script to DIVI > Theme Options > Integrations > Head Code: <script> jQuery(function($) { window.et_pb_smooth_scroll = function( $target, $top_section, speed, easing ) { var $window_width = $( window...
by Suzanne Whitby | Dec 1, 2021 | Tips, tutorials & #divi
To do this, copy the script below and paste it in the <head> section in the Integration tab in Divi Theme Options (Theme options > Integration > <head> section). Save, and that’s it. <script>jQuery(document).ready(function() {...
by Suzanne Whitby | Dec 7, 2020 | Tips, tutorials & #divi
By default, the first item in a DIVI accordion module is open. Here are two ways to close all items automatically. Option 1: make all the first items of all accordions closed by default If you want to make all accordions closed by default, go to the “Add code to the...
by Suzanne Whitby | Jan 14, 2020 | Tips, tutorials & #divi
I use this all the time in my Divi websites. Divi allows you to insert a single button with the in-built modules, but I regularly want to have at least two and sometimes three buttons side-by-side. For example: Call to action 1Call to action 1Call to action 3 To do...