Title: Centering a do_shortcode?
Last modified: August 31, 2016

---

# Centering a do_shortcode?

 *  [farrahgillani](https://wordpress.org/support/users/farrahgillani/)
 * (@farrahgillani)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/centering-a-do_shortcode/)
 * Hello there,
 * I have a plugin that lets me monitor ads as long as I use a shortcode. I have
   added one into the header.php of my website, but it’s left-aligned:
    [http://citysavvyluxembourg.com/](http://citysavvyluxembourg.com/)
   Could anyone tell me how to center it, please? This is the code I put in the 
   header php:- echo do_shortcode( ‘[uam_ad id=”14341″]’ );
 * Many thanks in advance!

Viewing 1 replies (of 1 total)

 *  [Kostas Vrouvas](https://wordpress.org/support/users/kosvrouvas/)
 * (@kosvrouvas)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/centering-a-do_shortcode/#post-7004787)
 * Hi, did you find a solution? I see that it is centered. I’m available to help.

Viewing 1 replies (of 1 total)

The topic ‘Centering a do_shortcode?’ is closed to new replies.

## Tags

 * [20q2016](https://wordpress.org/support/topic-tag/20q2016/)
 * [align](https://wordpress.org/support/topic-tag/align/)
 * [center](https://wordpress.org/support/topic-tag/center/)
 * [do_shortcode](https://wordpress.org/support/topic-tag/do_shortcode/)
 * [formatting](https://wordpress.org/support/topic-tag/formatting/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kostas Vrouvas](https://wordpress.org/support/users/kosvrouvas/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/centering-a-do_shortcode/#post-7004787)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
