To change the height of the Divi Theme header, you can do so by adding CSS to Divi, like so:A couple of notes: This sets the minimum height rather than the absolute height to allow the header to grow if you add more content too it. The first min-height sets the...
Divi Booster
Changing the Background Color in Divi
To change the background color in the Divi Theme, you can do so by adding CSS to Divi, like so: #main-content { background-color: green !important; } This will set the background on the main content, but leave the header and footer untouched.
Changing the Default Divi Font Size
If you'd like to change the default font size in the Divi Theme, you can do so by adding CSS to Divi, like so: body { font-size:130% !important; } This will change the font-size of many components, such as there text in fonts, in the footer and in the sidebar. Note...
How to Add PHP Code to Divi – Code Module, Snippets & Child Themes
Need to add PHP code to Divi? The right method depends on whether the code needs to output something inside a Divi layout, or run more generally across your site. Divi’s built-in Code Module does not run PHP. It is intended for HTML, CSS, JavaScript, shortcodes and...
Hide the Divi Header Navigation Links
If you'd like to hide the navigation links (including the search icon) in the Divi Theme's standard header, here are several options.Hide the Divi Header Menu within Divi Settings It's possible to remove the menu links and search icon within Divi itself. To do so: 1....
Stop the Divi Header from Shrinking on Scroll
The Divi Theme header has a default scroll effect which sees it "shrink" to a more compact version as you scroll down the page. If you'd like to keep the header at full-size as you scroll down the page, you can do so using either of the two methods below.Stopping the...
Open Divi Slider Button Link in New Tab
To make Divi Theme's slider button links open in a new tab, you can add the following into the footer.php file (of the theme itself, or a child theme): <script> jQuery(function($){ $('.et_pb_more_button').attr('target', '_blank'); }); </script> This is...
Greyscale Google Maps in the Divi Map Module
The Divi Theme comes with a map module that makes it easy to embed Google Maps into your webpages. Here's a quick cross-browser CSS snippet for displaying the map in greyscale rather than the standard Google Map colors:
Changing the Divi Logo Height
The Divi theme lets you put your site logo in the header. As you scroll down, the header shrinks to take up less space, and the logo shrinks with it. Here's how to change the height of both the normal and shrunken state of the logo. How to Set the Divi Logo Height...
Divi Booster and Caching
The use of caching plugins for WordPress is a massive win in terms of performance. But they can also be a headache for webmasters who fail to see the changes they make to their site show up. One of the most common issues people have when using Divi Booster is that...
