Every website needs to portray trust when trying to get potential customers to checkout.
This is especially important for your first orders.
All trust symbols, thats certification logos or other elements that can be used to help your checkout page should be considered.
How do you add these items? Well in this tweak we will show you how.
You can get the snippet below that we use in the video and remember to use a child theme.
Overall this is a great effect and something you should absolutely have in your list of snippets and solutions.
How to hide the back to top button on mobile
In this simple tweak we give you a code snippet to remove your back to top button on mobile or tablet devices.
This code will work for any page powered by the Divi Theme.
It hides the back to top button when you are on a device which has a screen size smaller than the media query value.
To learn more check out the video.
You can get the snippet via the below code snippet on gist.
You can also get the code directly on gist.
Don’t forget to get more tweaks and edits on our youtube channel or via the blog.
How to video – stop cart fragments loading on your home page
We have been talking about page speed a fair bit lately. I have actually become pretty obsessive about it.
This lead me to make a fair few simple script adjustments to improve my homepage load time.
I setup a GTMetrix monitor on the homepage of Divi Framework and found the cart fragments load was slowing down my page at random times.
Overall I thought removing it on the homepage would make sense, so I experimented and found it was an excellent choice to turn it off.
How do you turn of the Cart Fragments? Lets me show you how.
First – Open your functions.php in your child theme.
Second – Past in our code snippet to your functions.php file
Third – save it an enjoy the time savings.
You can extend this to other pages if you want to. For now I only do it on my homepage.
Remove Emoji Script from WordPress – How To Video
Did you know that you are loading a bunch of emojis on your WordPress website even if you don’t use them?
If you aren’t using these fun symbols you need to remove the emoji script from WordPress.
When you turn off the emoji script it will make your page load faster with no loss of functionality for 90% of WordPress websites. Most people simply don’t use them. At Divi Framework we certainly don’t so I decided to remove emoji script and thought I would do a very quick video tutorial on how to make that happen.
First – Copy the snippet from our GIST
Second – Paste the snippet in your functions.php file for your child theme.
If you don’t have a child theme you should really think about creating one. It will help you maintain your WordPress website and means you can update parent themes with a lower risk of losing your updates or custom edits. In this case you can add this to your functions file for your parent theme but when you update your theme you will lose this change and have to re-implement it.
Three – Enjoy a faster webpage and faster load times.
This is a really simple way to make your site load faster and in a world where every millisecond counts its a quick win for any WordPress website.
Fixing WooCommerce Buttons in Divi
WooCommerce button style issues with Divi Theme
Don’t lose sales because of not so great WooCommerce button styles on your Divi Theme. The default WooCommerce button styles on Divi Theme is average. You can end up with simple issues, like contrasting colour, when you style your button.
The WooCommerce Add To Cart button is the first thing your customer will see on a product page. Being presentable when making a sale is a must. So why be any different when it comes to your WooCommerce button styles?
Styling the button background and font is the least you should do. And it’s not that difficult.
The Fix for WooCommerce Button Styles Issue
We have created a CSS snippet for this fix. Click here to view it on GitHub.
Add the above snippet to your child theme’s stylesheet file.
Also, don’t forget to watch the video above.
Alternatively, you can use our FREE plugin
Introducing WooCommerce Colours For Divi
The WooCommerce Colours For Divi, a FREE plugin from diviframework.com, helps you fix the button styles. You can set button font size, font colour, background, border radius and more.
You can also set styles for alert messages and on sale badge.
By using this plugin, you get more styling options for buttons and additonal styles for alert messages and sales badge. With automatic plugin updates, you will automatically receive new functionality and fixes.