April 24, 2019 in Wordpress

Gutenberg Blocks – Understanding the Basics

Let’s take a look at the Gutenberg Block in its simplest form to understand how a block works, and how can we create our own blocks. Gradually we will move on to understand more advanced stuff to make more interesting blocks. (Editable blocks, Toolbars, Options, etc.) WordPress has many inbuilt libraries that allow us to […]

April 16, 2018 in Bootstrap, CSS

Why Reboot is created for Boortstap 4 instead of using Normalize?

You might have used normalize in your projects. Bootstrap 4 has created its on version on top of the normalize called reboot. If you are not familiar with normalize, it overwrites browser’s default CSS to eliminate browser inconsistencies, like different font sizes, or margin etc. It also add many CSS rules that helps you make […]

April 9, 2018 in Cheat Sheet, Freebies, WooCommerce, Wordpress

WooCommerce Cheatsheet: Single Product Page

WooCommerce comes with its own template structure, hooks, and functions. It takes a lot of time to find the relevant hooks, functions or template files when you want to make some changes in WooCommerce. I have created this series of Visual Guides / Cheat Sheets to make it easier to find the information regarding a […]

April 2, 2018 in Bootstrap, CSS

Understanding EMs and REMs

As we know Bootstrap 4 is using em’s and rem’s instead of pixels, so its necessary to understand what these units are, and how they work. Let’s take a look. There are few things that you should memorise about em’s and rem’s, these points will help you understand these units more easily.

October 26, 2017 in CSS

Horizontal & Vertical centring using flexbox module

Aligning content vertically inside a DIV or a box has always been an issue in CSS. There was some tricks available with display: table and display: table-cell properties. But it was never convenient to implement, until flexbox module came into the existence. With Flexbox, one can align anything (vertically or horizontally) with the align-items and […]

April 29, 2016 in CSS

Evenly spaced multi-line navigation using Flexbox module (CSS3)

Recently, in one of my project, the client asked me to create a multi-line navigation, which should be evenly spaced according to link text. One major consideration was that navigation should be dynamic and the number of links can be changed in future if needed.

May 7, 2015 in PSD to HTML

Dear “PSD to HTML”, it’s time to evolve!

Of late, I often see a discussion as “Is PSD to HTML dead”? Having been involved in this art for few years, I am scared to answer ‘Possibly Yes’ to it, but we can rephrase this question as “Is PSD to HTML still relevant?” This is quite a thought-provoking question. So, lets discuss whether there […]

April 17, 2015 in Snippets, Wordpress

Shortcode to get page URLs

We usually need to add interlinking between different pages of a website. WordPress provides a wonderful mechanism to add links between pages. But sometimes we need more control over the links. This shortcode makes it easy to find URL of a page, by it’s ID, Slug, or Title.