Title: Code to Center mini image
Last modified: February 5, 2020

---

# Code to Center mini image

 *  Resolved [vietaly](https://wordpress.org/support/users/vietaly/)
 * (@vietaly)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/code-to-center-mini-image/)
 * Hi there! I just need to center the small icon image underneath my header. In
   the image advanced edit options, there’s space to type in the “Image title attribute”
   and “Image CSS Class”. Not too familiar with code, or if I need to type anything
   there or in the dashboard main coding section.
 * Thanks 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-to-center-mini-image%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 3 months ago](https://wordpress.org/support/topic/code-to-center-mini-image/#post-12403623)
 * This CSS:
 *     ```
       div#media_image-13 {
           text-align: center;
       }
       ```
   
 * **To add or override CSS:** use the “Additional CSS” option in the customizer._
   [https://codex.wordpress.org/CSS#Custom\_CSS\_in\_WordPress](https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress)_
 * Learn to use the [Chrome Developer Tools](https://developers.google.com/web/tools/chrome-devtools/)
   or [Firefox Developer Tools](https://developer.mozilla.org/en-US/docs/Tools) 
   to help you see and test changes to your CSS.
 *  Thread Starter [vietaly](https://wordpress.org/support/users/vietaly/)
 * (@vietaly)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/code-to-center-mini-image/#post-12403698)
 * You’re a life saver! Amazing 🙂

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

The topic ‘Code to Center mini image’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [vietaly](https://wordpress.org/support/users/vietaly/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/code-to-center-mini-image/#post-12403698)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
