Title: insert gallery
Last modified: August 19, 2016

---

# insert gallery

 *  [ronchicago](https://wordpress.org/support/users/ronchicago/)
 * (@ronchicago)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/insert-gallery/)
 * where is the layout control for “insert gallery” option when adding images. my
   post’s full-size pix are 500px wide. it would be nice if a three-column gallery
   would also be 500 px wide.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/insert-gallery/#post-1372697)
 * There isn’t a gallery layout control button. You can control the width of your
   gallery via your theme’s stylesheet.
 *  Thread Starter [ronchicago](https://wordpress.org/support/users/ronchicago/)
 * (@ronchicago)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/insert-gallery/#post-1372725)
 * agreed, no button option. what is the hook, div class, name, for the wp gallery??
   so i can create the css. does it already exist on my stylesheet ?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/insert-gallery/#post-1372764)
 * Depends on the theme. By default, the gallery css is added to the page body –
   which is actually incorrect. In some themes, this default behaviour has been 
   disabled by adding:
 *     ```
       add_filter('gallery_style', create_function('$a', 'return "
       <div class=\'gallery\'>";'));
       ```
   
 * to the functions.php file. The end result is that all of the gallery css has 
   to be in the theme stylesheet – which does make it a lot easier to control.
 * I’d suggest checking the source of a gallery page on your site first. If there
   is css in the body just before the gallery markup, copy it and add it to your
   theme’s stylesheet. Then disable the default css using the code above in functions.
   php. At that point, you can start tweaking the css in your stylesheet to suit
   your purposes.
 * Trying to just amend your stylesheet without disabling the default css can be
   tricky as inline css always trumps an external sheet.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘insert gallery’ is closed to new replies.

## Tags

 * [adding images](https://wordpress.org/support/topic-tag/adding-images/)
 * [Insert Gallery](https://wordpress.org/support/topic-tag/insert-gallery/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/insert-gallery/#post-1372764)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
