Title: css code help: centering
Last modified: August 19, 2016

---

# css code help: centering

 *  Resolved [bobbeacham](https://wordpress.org/support/users/bobbeacham/)
 * (@bobbeacham)
 * [17 years ago](https://wordpress.org/support/topic/css-code-help-centering/)
 * Can someone help me with a bit of code please?
 * The WP125 ad plug-in is great, but it defaults to ads which range to the left
   when in a single widget column. I’d like to put them in the center. I presume
   I have to modify this part of the css:
 *     ```
       /* Styles for one-column display */
       #wp125adwrap_1c { width:100%; }
       #wp125adwrap_1c .wp125ad { margin-bottom:10px; }
       ```
   
 * But I’m a user, not a coder! Can any of you clever people help me out here?
 * Ta!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [17 years ago](https://wordpress.org/support/topic/css-code-help-centering/#post-1081869)
 * A link to your site would be helpful but, off the top if my head, you could try:
 *     ```
       /* Styles for one-column display */
       #wp125adwrap_1c { width:100%; }
       #wp125adwrap_1c .wp125ad { width:125px;margin:0 auto 10px; }
       ```
   
 * The above assumes that your ads are exactly 125px wide.
 *  Thread Starter [bobbeacham](https://wordpress.org/support/users/bobbeacham/)
 * (@bobbeacham)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/css-code-help-centering/#post-1081976)
 * Hi Esmi
 * Thanks for the help but that’s made no difference. The site is at [http://beadandwireflowers.com](http://beadandwireflowers.com)
 * It’s the “Sponsor” ad.
 * Within the WP125 plug-in settings I’ve tried with and without the “include default
   ad stylesheet?”
 * Thanks
    Bob
 *  [redwallhp](https://wordpress.org/support/users/redwallhp/)
 * (@redwallhp)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/css-code-help-centering/#post-1082034)
 * Try this:
 *     ```
       /* Styles for one-column display */
       #wp125adwrap_1c { width:100%; text-align:center; }
       #wp125adwrap_1c .wp125ad { margin-bottom:10px; }
       ```
   
 *  Thread Starter [bobbeacham](https://wordpress.org/support/users/bobbeacham/)
 * (@bobbeacham)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/css-code-help-centering/#post-1082087)
 * Thanks Redwallhp. That’s done it.
 *  [jenbaldwin](https://wordpress.org/support/users/jenbaldwin/)
 * (@jenbaldwin)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/css-code-help-centering/#post-1082253)
 * Bob, how did you change the title to “Sponsors” in your sidebar? I want to do
   that as well. Thanks!
 *  [redwallhp](https://wordpress.org/support/users/redwallhp/)
 * (@redwallhp)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/css-code-help-centering/#post-1082254)
 * [@jenbaldwin](https://wordpress.org/support/users/jenbaldwin/) Go to the Ads-
   >Settings menu. There should be a “Widget Title” field.
 *  [suataliu](https://wordpress.org/support/users/suataliu/)
 * (@suataliu)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/css-code-help-centering/#post-1082311)
 * How to center this ?
 *     ```
       /* Styles for two-column display */
       #wp125adwrap_2c { width:100%;}
       #wp125adwrap_2c .wp125ad { width:125px; float:left; padding:10px; }
       ```
   
 *  [suataliu](https://wordpress.org/support/users/suataliu/)
 * (@suataliu)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/css-code-help-centering/#post-1082312)
 * ?? :S

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

The topic ‘css code help: centering’ is closed to new replies.

## Tags

 * [center](https://wordpress.org/support/topic-tag/center/)

 * 8 replies
 * 5 participants
 * Last reply from: [suataliu](https://wordpress.org/support/users/suataliu/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/css-code-help-centering/#post-1082312)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
