Gabriola Graphics Blog

Here you'll find posts relating to a bunch of graphic and web stuff, a little hardware or software stuff, and the odd life pro tip.

Welcome! Here you'll find posts relating to a bunch of graphic and web stuff, a little hardware or software stuff, and the odd life pro tip.

Tag cloud and search at bottom of page.

Remove Divi Builder Button for WP User Role Author

To make things easier for the client hand-off, I removed the Divi builder button from the back-end, using the following code: [code lang="php"] /* Remove Divi Builder button for WP Role Author */ function my_custom_admin_head() { if ( current_user_can( 'author' )) :...

read more

Divi Disable Slider and Gallery Slide-In Effect

On page load the Divi photo gallery and the image slider have their own automatic "slide in from left" effect. To disable this effect use the following CSS: [code lang="css"].et_pb_slide_image, .et_pb_slide:first-child .et_pb_slide_image img.active {...

read more

Divi Friendly Global Footer

This trick will allow you to create a Divi friendly footer (within the front-end builder) and then via a child theme modification to the footer.php file, have it echo throughout your site. [code lang="html"] <style>.embed-container { position: relative;...

read more

Divi Align Module to Bottom

When trying to align content to the bottom of a column, use flex. [code lang="html"] <ol> <li>Make sure your row has the <strong>equalize heights</strong> option turned ON.</li> <li>In the <strong>column</strong> you...

read more

Force HTTPS But Not For Add-On Domain

Setting up a new add-on domain* for a client today and found that I could not access the new add-on domain name directly. It was appending the new add-on domain name to the root or main site url. So instead of taking the visitor to www.newdomain.com it was taking them...

read more
Dreamweaver Find and Replace

Fix Dreamweaver Double-Spaced Code

  Due to Unix/Linux/Windows server environments, when you are editing code locally in Dreamweaver you'll sometimes find your code double-spaced for the whole file. A quick fix is to run this find/replace command to remove the extra spaces. In Dreamweaver: Hit...

read more

InMotion Hosting: Fix Image Upload Error for WordPress

This may be pertinent for WordPress installs on InMotion web hosting only. I ran into an image upload error for a new WordPress install where the only message displayed was "HTTP error". After following the usual actions of checking folder permissions, php memory...

read more