How to float/align content left and right in a Divi Text Module
<p><span style="display: inline-block; float: left;">OPTION #1 </span><span style="display: inline-block; float: right;">$25pp</span></p>
<p><span style="display: inline-block; float: left;">OPTION #1 </span><span style="display: inline-block; float: right;">$25pp</span></p>
If you want to change all 404 error of your WordPress website into 410 error statues then just add this code before the get_header(); in you 404.php template Hope it helps. Reference: stackoverflow.com
If you want to change the gallery image sizes, you can add the following CSS code into your Divi child theme CSS file or Theme Customizer Custom CSS box. Just edit the width and height pixel values to your own image sizes. This does not regenerate the image sizes used but just resizes in the…
Do you want to display a “Back to Shopping Cart” button on the WooCommerce checkout page? You can use the woocommerce_before_checkout_form action hook to do this. Add this code in the function.php file of your active child theme (or theme) or also in any plugin file. Reference Link: Stackoverflow
It’s simple. Set your image crop dimensions and use this line in your CSS: img { object-fit: cover; } That’s it. No need for unsemantic, wrapping divs or any other nonsense. This technique works great for cropping awkwardly-sized pictures down to squares or circles. Take this wide photo below for example. Once object-fit: cover is applied to the…
Add a Standard Section and insert a fullwidth column. Click to edit the Section Settings and, under General Settings, change the following: Under Custom CSS add the following: CSS Class: tr_two_col Save & Exit Implementing the Two-Column Grid Layout By default, the blog grid has a three-columnn grid layout. To change this to a two-column…
Error: SMTP Error (550): Failed to set sender “someone@example.com” (Access denied – Invalid HELO name (See RFC2821 4.1.3)). You should add smtp helo name in the mail configuration. Find the file config.inc.php and edit it nano /etc/roundcube/config.inc.php add the line. $config[‘smtp_helo_host’] = ‘localhost’; Now login to your mail client and test the outgoing mail by sending one.
Can We Add More Under This but these must be alliged. in your code Text In New Line will Distorted