Grow your CSS skills. Land your dream job.

Last updated on:

Remove Gallery Inline Styling

add_filter( 'use_default_gallery_style', '__return_false' );

Reference URL

Comments

  1. Vitor Melo

    Thanks

  2. Simple and usefull … thanks!

  3. Tyler
    Permalink to comment#

    Doesn’t work in WordPress 3.6, inline styles are still there.

Leave a Comment

Current day month ye@r *

*May or may not contain any actual "CSS" or "Tricks".