• WordPress Training
  • WordPress Websites
  • WordPress Support

OrganicWeb

FULL WEBSITE SALE

WordPress Website setup for $690 + 20% OFF
  • Home
  • Portfolio
  • Contact & About
  • Blog
  • WordPress Websites
    • Beauty salons
    • Car sales
    • Cafes & Restaurants
    • Charities & NFPs
    • Consultants & Professionals
    • Ecommerce
    • Food & Recipes
    • Medical Services
    • Health clubs
    • Photographers
    • Real Estate
    • Websites for everyone
  • WordPress & SEO Services
    • WordPress Websites
    • WordPress Support
    • WordPress Training
    • For Ad Agencies etc.
  • May 24, 2013
You are here: Home / Internet / Easily make images grayscale with CSS

Easily make images grayscale with CSS

February 22, 2013 by Gary Leave a Comment

A super useful addition that arrived with CSS3 is filters. Filters make manipulating images really simple; no longer does the image need to be changed prior to use in WordPress in an image editing application such as Adobe Photoshop. A variety of filters are available such as blurring an image, creating a drop-shadow, changing the brightness and making an image grayscale (among other filters).

Using the CSS3 grayscale filter

As an example, here is how the grayscale filter is used.

  1. In your stylesheet (style.css in WordPress) add the following:
    img.gegrayscale { filter: grayscale(100%);-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-o-filter: grayscale(100%);-ms-filter: grayscale(100%);}
  2. Insert the full colour image into your Page or Post as per normal.
  3. Click the inserted image and then click the ‘Edit Image’ icon that appears.
  4. Click ‘Advanced Settings’
  5. Add  gegrayscale after any content already in the CSS Class field.
  6. Save changes.

When you publish or update the Page or Post your image will now show in grayscale.

Related Posts:

  • How to make a Background Transparent but not Text
  • Fix the Intense Debate Permissions Error
  • How to put Caption Text on Top of an Image

Share this:

  • Facebook
  • Twitter
  • Google +1
  • LinkedIn
  • Email
Filed Under: Internet Tagged With: CSS, css3, how to, tutorials, WordPress

Leave a Reply Cancel reply

Get a new Website

  • Websites for everyone
  • Beauty Salons
  • Cafes & Restaurants
  • Car sales
  • Charities
  • Consultants & Professionals
  • Doctors, dentists …
  • Ecommerce
  • Fitness & Health
  • Food & Recipes
  • Photographers
  • Real Estate Agents

Providing quality WordPress services in Australia and world-wide

Follow @ecksteing

Gary is MBA qualified from a leading European university and has worked with WordPress & SEO for many years. He is an Australian WordPress specialist providing WordPress design, training, consulting and much more. [Read More …]

Testimonials

He tweeked my site in no time at all and apart from that has given me strategies to increase viewers to my website! Highly recommended!Matt
Thanks for everything. It is great that you offer such a fast and reliable serviceMegan
Thanks to @ecksteing for your help this morningMichaela Clark
Up and running! My Wordpress blog foundations built. Couldn’t have done it without Wordpress expert Gary Eckstein’s help! Thanks @ecksteingAngie Wood
Thanks to Gary @ecksteing for resolving my wordpress issues in a matter of minutes. Nice to find a genius in your hour of need!Kate Toon
Again we dont usually endorse people, but in this instance we are going to, we simply could not have recovered if it was not for the help of Gary Eckstein, he is a wordpress guru, and did an amazing job of getting us back up and on line after the hack.Market Mill
Gary did a great job moving our site to wordpress. The end result is everything we hoped for. We’ll definitely be using Gary for our website work in the futureJim
Thanks a lot @ecksteing for this: How to open .EPS files in GIMP bit.ly/AmbUOb. It worked like a charm.@muntania

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.

Email: [email protected]
Phone: 04 1092 3445

Unit 21, 12 Philip Mall
West Pymble
NSW 2073
Australia
OrganicWeb is the leading Australian Website designer and developer for small and medium size organizations.
Our core focus is in providing quality Websites that are simple to maintain and that are cost effective.
We'd love to work with you!
Website secured with SSL OrganicWeb is a member of AWIA We are Australian WordPress Specialists Organic Web are recommended WordPress Theme developers
Follow @ecksteing

Terms of Service · Privacy · Copyright © 2013 · ABN: 40800872179 · OrganicWeb · Unit 21, 12 Philip Mall, West Pymble, NSW, 2073, Australia

Return to top of page