Title: Centering type
Last modified: August 19, 2016

---

# Centering type

 *  [paul4ut](https://wordpress.org/support/users/paul4ut/)
 * (@paul4ut)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/centering-type/)
 * If you go to missionuganda.info, you will notice right away that the navigation
   text in the righthand column is justified left and spilling off the graphic stamp.
   I need this centered on each stamp, but I’m not sure where to go to make this
   change.
 * Can anyone help?
 * Thanks

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

 *  [Jonas Grumby](https://wordpress.org/support/users/ss_minnow/)
 * (@ss_minnow)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/centering-type/#post-1418480)
 * Check the style.css and see what it says for:
 * `#sidebar ul li`
 * see if one of the properties for that ID is `text-align: center;`
 * If not, try adding that. If it messes up other things, try putting that CSS property
   into
 * `#sidebar ul li h2`
 * instead.
 *  Thread Starter [paul4ut](https://wordpress.org/support/users/paul4ut/)
 * (@paul4ut)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/centering-type/#post-1418628)
 * I don’t have a file called “style.css.” Here are the css files I do have. Can
   you tell which of these it might be?
 * colors – classic -rtl.css
    colors-classic.css colors-fresh-rtl.css colors-fresh.
   css dashboard.rtl.css dashboard.css farbtastic.rtl.css farbtastic.css global-
   rtl.css global.css ie-rtl.css ie.css install-rtl.css install.css login-rtl.css
   login.css media-rtl.css media.css plugin-install-rtl.css plugin-install.css press-
   this-rtl.css press-this.css theme-editor-rtl.css theme-editor.css theme-install.
   css widgets-rtl.css widgets.css
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/centering-type/#post-1418650)
 * I think that SS_Minnow may have been referring to the style sheet for the theme
   you are using. It can be located in the WP Africa theme folder;
 * //missionuganda.info/wp-content/themes/WP Africa/style.css
 *  Thread Starter [paul4ut](https://wordpress.org/support/users/paul4ut/)
 * (@paul4ut)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/centering-type/#post-1418718)
 * OK, I went to the WP Africa theme folder and opened the “style-ie6.css” file.
   If you go to [missionuganda](http://www.missionuganda.info) and look in the far
   righthand column, the subject of each navigation tab is flowing off to the left.
   I’m trying to center this type. By looking at the content of “style-ie6.css” 
   can anyone tell me which “left” needs to be made “center” to correct this?
 * [**Mod Note:** Chunk of code removed. If you want to post large blocks of code,
   please use a [pastebin](http://wordpress.pastebin.ca/).]
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/centering-type/#post-1418730)
 * The file you want is where I told you it could be found. _“It can be located 
   in the WP Africa theme folder; [http://missionuganda.info/wp-content/themes/WP%20Africa/style.css&#8221](http://missionuganda.info/wp-content/themes/WP%20Africa/style.css&#8221);_
 * It is named **style.css** , not “style-ie6.css”
 * > the subject of each navigation tab is flowing off to the left. I’m trying to
   > center this type
 * Find this:
 * #sidebar ul h2 {
    background : url(images/sidebartop.jpg) no-repeat; width: 210px;
   font-weight : 100; font-size : 19px; margin : 20px 0 5px 10px; padding : 18px
   0px 18px ; color : #111111; text-align : left; text-decoration : none;
 * And change it to this:
 * #sidebar ul h2 {
    background : url(images/sidebartop.jpg) no-repeat; width: 210px;
   font-weight : 100; font-size : 19px; margin : 20px 0 5px 10px; padding : 18px
   0px 18px ; color : #111111; **text-align : center;** text-decoration : none;
 * That will center the titles in the ribbon images..
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/centering-type/#post-1418731)
 * Spaces in directory names are such a pain in the rear.

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

The topic ‘Centering type’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/centering-type/#post-1418731)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
