CSS, HTML, Shopify

Added a Custom Note Under My Product Price

I wanted to show a small note like “Shipping calculated at checkout” under the price on all products. I went into main-product.liquid and found the price block, then added this right after it: <p class=”custom-note”>Shipping calculated at checkout</p> To style it, I added a few lines to base.css: .custom-note { font-size: 14px; color: #777; margin-top: 4px; } Now every product…

Continue Reading→

HTML, PHP, Shopify

Lazy-Loaded My Images With One Line of Code

I wanted to speed up my Shopify store by lazy-loading product images. Turns out, it was super simple. In the theme’s product card or image blocks, I found this: <img src=”{{ image | img_url: ‘large’ }}”> All I did was change it to: <img loading=”lazy” src=”{{ image | img_url: ‘large’ }}”> That one attribute made a difference in page load…

Continue Reading→

Other, Wordpress

WordPress Hosting Solution

If you are like me, I am always on the hunt for a reliable, secured but affordable hosting solution. Ever since I tried Kinsta hosting solutions in one of my recent projects, I have been recommending it to other clients who are looking for cheap and reliable hosting solutions. First of all, let me just say, Kinsta is amazing. Their…

Continue Reading→

Wordpress

Fatal Error on Revolution Slider After PHP 7 Upgrade

A lot of users have experience getting errors on their Revolution Slider plugin after updating to PHP 7. Mine was the Uncaught Error: [] operator not supported for strings in /../plugins/revslider/inc_php/framework/base_admin.class.php:72 Stack trace: #0 I can’t access the backend once PHP7 has been enabled with the Revolution Slider plugin active. Once deactivated, I was able to login on the backend…

Continue Reading→

CSS, Wordpress

Gravity Forms – Footer White Space

The other day, I created a new form on a website that I was working on, I have been using Gravity Forms for years and I have never experience that upon embedding the form, a big white space right below the form is showing up. And when you look at the code you will a <br> codes being generated Apparently,…

Continue Reading→