Skip to main content

Posts

How to make colored image gray scale on hover? CSS Tricks

To make a colored image turn into gray scale on hover and vice versa can be achieved by using some simple css tricks. We will see both the codes here.

1) Turn Colored image to Gray Scale on hover:

CSS:
img { filter: gray; filter: grayscale(1); -webkit-filter: grayscale(0); } img:hover { filter: none; -webkit-filter: grayscale(1); }
HTML:

<div id="wrapper"> <img id="myImage" src="IMAGE.JPG"/></div>
In the html part, replace IMAGE.JPG with the link to the source image.


2) Turn Gray Scale image to Colored on hover.

CSS:
img { filter: gray; filter: grayscale(1); -webkit-filter: grayscale(1); } img:hover { filter: none; -webkit-filter: grayscale(0); }
HTML:
<div id="wrapper"> <img id="myImage" src="IMAGE.JPG"/></div>
Same as earlier, replace the IMAGE.JPG with the actual image source link.



Recent posts

Font Awesome CSS links

Here are the list of css link to adding Font Awesome to your website.


Fontawesome Version 4.5.0: 

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">


Fontawesome Version 4.6.3
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">

Keyboard Shortcuts to make symbols in windows

Many times we come across some application where we wish to use symbols but we do not have a direct option to do that.

One way to do it is to visit the Character Map in windows.

However second option is to use keyboard shortcuts to make symbols.

Find a few of them below :

HOW TO MAKE SYMBOLS WITH KEYBOARD Alt + 0153 =  ™ (trademark symbol) Alt + 0169 = ©  (copyright symbol)

Alt + 0174 = ®  (registered trademark symbol)


Alt + 0176 = °  (degre­e symbol)


Alt + 0177 = ±  (plus-or­-minus sign)


Alt + 0182 = ¶  (paragraph mark)


Alt + 0190 = ¾ (fractio­n, three-fourths)

Alt + 0215  = × (multi­plication sign)

Alt + 0162  = ¢ (the cent sign)

Alt + 0161 = ¡  (upside down exclamation point)


Alt + 0191 = ¿  (­upside down question mark)


Alt + 1 = ☺ (smiley face)


Alt + 2 = ☻ (bla­ck smiley face)

Alt + 15 = ☼ (su­n)

Alt + 12 = ♀ (female sign)

Alt + 11 = ♂ (m­ale sign)

Alt + 6 =

Notify me when product is available notification in shopify

It is very important for an ecommerce store to keep track of the products liked by their customers and make the customer aware when the products are back in stock. If you are not using backorders for your products, you need to inform your customers manually about the re-stocked items. However how would you know which product is like by which customer? or which customer is willing to make a purchase when the product of their choice is back in stock?

Well the solution is simple. Use a custom contact form on the product page that collects customers email and send the admin details of the customers email address along with their product choice.

open the product.liquid file and paste the below code at the position where you would like to show the option to customers to put their email address.


{% unless product.available %} <div id="sold-out"> {% form 'contact' %} {% if form.posted_successfully? %} <p class="accent-text">Thanks! We …

How to add product sku to the product details page in shopify

Many shopify themes do not include product sku display options by default and one may need to add them manually.

However, you must be a little familiar with Liquid code so that atleast you can figure out what code to be inserted and where.
I will show you the code to be added. But the location may vary depending on the theme which you are using.
1) From your Shopify admin, click Online Store, then click Themes (or press G W T):

2) click on dropdown and select EDIT HTML/CSS


3) Search for the file product.liquid and open it by selecting it. The file contents will open in the editor at the right side of the screen.
use CTRL + F to search for the codes in the editor.
4) Locate the position where you want to display your product sku. Most stores prefer to show the sku after the product title. in that case look for the term product.title and paste the following code below it.

<div class="product-sku"><label>SKU</label> {{ product.variants.first.sku }}</div>…

How to remove network login credentials in windows 7

Today we will talk about how to remove network login credentials in windows 7

Sometimes this issue arises when you are unable to login in to my network with the saved credentials.

If you have used "Remember Credentials" while first logging in the network, you do not get an option to enter the changed credentials again to the same network.

Here is what you need to do to delete the saved network credentials :

>Go to Run (Windows + R)
>Type "cmd" (without quotes) and hit enter
>in the command prompt type the following

net use \\NETWORK PATH /delete
replace NETWORK PATH with your actual network patch address.