Title: Gallery Short Code Not Working
Last modified: August 19, 2016

---

# Gallery Short Code Not Working

 *  Resolved [andkobe](https://wordpress.org/support/users/andkobe/)
 * (@andkobe)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/gallery-short-code-not-working/)
 * Hi All,
 * I recently switched to a new theme, Twenty Ten, and for some reason my Gallery
   page is not showing up correctly.
 * [http://98.142.214.34/~yourde22/gallery/](http://98.142.214.34/~yourde22/gallery/)
 * My code for the gallery page is as follows:
 * [gallery columns="2" size="thumbnail"]
 * I’ve tried searching for a solution for hours, and nothing works so far.
 * Any ideas?
 * Thanks Everyone!

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/gallery-short-code-not-working/#post-1687411)
 * i am assuming that you don’t like the large images on your gallery page – because
   you haven’t described what is ‘wrong’ with the gallery:
 * edit style.css and find:
 *     ```
       #content img {
       	margin: 0;
       	height: auto;
       	max-width: 640px;
       	width: auto;
       }
       ```
   
 * remove the `width: auto;` and see if that changes things the way you remember
   it.
 *  Thread Starter [andkobe](https://wordpress.org/support/users/andkobe/)
 * (@andkobe)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/gallery-short-code-not-working/#post-1687595)
 * Wow that fixed it. Thanks Alchymyth!

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

The topic ‘Gallery Short Code Not Working’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [andkobe](https://wordpress.org/support/users/andkobe/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/gallery-short-code-not-working/#post-1687595)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
