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.

Reversing Mobile Column Collapsing Order (Divi)

To reverse the collapsing order on mobile devices, so that the default behaviour goes from left-column collapsing ABOVE the right-column, to the opposite… you’ll just need to add a CSS class to the row, and then use the css property of flex-direction: column-reverse.

read more...
divi-coming-soon

Divi Coming Soon page plugin FREE from DiviLife

This free plugin from DiviLife is wonderful. Coupled with the power of Divi’s Theme Builder you can redirect visitors to a page built with Divi. The Theme Builder comes into play as you can easily remove/hide site menus or footers from your bespoke coming soon...

read more...

Gravity Forms User Role Menu Restriction/Hide

Insert into your theme or child theme functions file: /* ------------------------- GRAVITY FORMS ROLES --- */ $role = get_role('editor'); $role->add_cap('gform_full_access'); add_action('admin_menu', function () { $user = new WP_User(get_current_user_id()); if...

read more...

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: /* 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: .et_pb_slide_image, .et_pb_slide:first-child .et_pb_slide_image img.active {...

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:...

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...

read more...