|

[Solved] CSS Styling in WordPress Child theme’s “style.css” file not working

I’m using a Themeforest Premium theme and installed and activated a child theme in order to make various CSS style changes to my website. However, the changes I’ve made to the child theme stylesheet are not working on the website, it’s taking styles from parent theme style.css file. functions.php file has the folowing code, The…

|

[Smush Pro] How to fix Wrong Image Sizes shown in Desktop or Large screen after WPMU DEV CDN Enabled

Problem: When we enable Smush Pro CDN we see the wrong image size in desktop view. The browser shows image size (1024 * 768) (can see by right click save as to see the file name). The container is 1400 px wide so it should take a higher image size and use that instead. If…

| | |

How to add a Back to cart button on the Woocommerce Checkout page

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

|

VestaCP – Can not Send email – SMTP Error (550) – Invalid HELO name

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.

| |

How to Disable Product Image Zoom, Lightbox and Product Gallery Slider in Woocommerce

Woocommerce 3+ have built in image zoom Lightbox and product images gallery feature. Most of us love this feature, however, some people would like to remove it. Disable Image Zoom feature on the single product page in WooCommerce Disable Image Lightbox feature on the single product page in WooCommerce Lightbox is a feature which let you click on any images…

vestacp-mysql-password
| |

VestaCP – How to find default MySQL Root Password and Change it

When we install VestaCP MySQL root password is different then our VPS root password. VestaCP generate MySQL root password randomly and stored at mysql.conf file. Where is your VestaCP MySQL root password stored? The password is stored at: Check the password: How to change the VestaCP MySQL root password? Step 1 – Use this usual…

| | |

How to create a non-admin (sudo) user on Ubuntu

Add a New User Account Create a new user account with the adduser command. Use a strong password for the new user. You can enter values for the user information, or press ENTER to leave those fields blank. Add the User to the Sudo Group Add the new user to the sudo group with usermod. Switch…