Title: widget text field: aligning issue
Last modified: August 31, 2016

---

# widget text field: aligning issue

 *  Resolved [kk_admin](https://wordpress.org/support/users/kk_admin/)
 * (@kk_admin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widget-text-field-aligning-issue/)
 * Hi All,
    Pinnacle. I have a question regarding the widget you can see [here](http://klarakolonits.com/reflecting-classics-tchaikovsky-dinyes/),
   right side, “Coming soon” section. I am struggling to make the pictures, yt embed
   code and the text exactly centered. I tried to embed youtube with the code generated
   by them and with kadence plugin code as well: the effect is the same. I know 
   it’s 2 millimetres but it drives me crazy. What am I doing wrong? The code I 
   put in the widget field can be found below. Shall I use some other widget for
   such a complex entry or is there a way to make it work with Text?
 * PS. As you can see, in the footer the same widget with pictures only is centered.
 *     ```
       <p style="text-align: center;">1, 2, 4, 5, 9, 16, 22, 25, 26, 27.04.2016
       31.05.2016
       <a title="Traviata | PREMIERE" href="http://klarakolonits.com/la-traviata/"><img class="aligncenter wp-image-1883" src="http://klarakolonits.com/wp-content/uploads/2016/03/traviata-fb-feliratok-1.jpg" alt="Traviata" width="250" height="140" /></a></p>
       <p style="text-align: center;">30.04.2016
       <a title="Tchaikovsky|Dinyés" href="http://klarakolonits.com/reflecting-classics-tchaikovsky-dinyes/"><img class="aligncenter wp-image-1891" src="http://klarakolonits.com/wp-content/uploads/2015/10/promo-tchaikovsky-dinyes.jpg" alt="Tchaikovsky|Dinyés" width="250" height="140" /></a></p>
       <p style="text-align: center;">03.05.2016</p>
       <p style="text-align: center;"><iframe width="250" height="141" src="https://www.youtube.com/embed/gPsHAWdlZpU?rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe></p>
       <a href="http://klarakolonits.com/mozart-requiem/"><p style="text-align: center;">Mozart: Requiem</a></p>
       </p>
       ```
   

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

 *  [Kevin](https://wordpress.org/support/users/jx-3p/)
 * (@jx-3p)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widget-text-field-aligning-issue/#post-7328240)
 * Try placing this CSS in Apperance> Theme Options> Custom CSS.
 *     ```
       .sidebar img {
           margin: auto;
       }
       ```
   
 * Let me know if that works for you!
 *  Thread Starter [kk_admin](https://wordpress.org/support/users/kk_admin/)
 * (@kk_admin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widget-text-field-aligning-issue/#post-7328241)
 * Great! That’s it! Thank you so much!
 *  Thread Starter [kk_admin](https://wordpress.org/support/users/kk_admin/)
 * (@kk_admin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widget-text-field-aligning-issue/#post-7328242)
 * if I use the same code in the footer, with .widget img works as well!

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

The topic ‘widget text field: aligning issue’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/pinnacle/1.8.10/screenshot.png)
 * Pinnacle
 * [Support Threads](https://wordpress.org/support/theme/pinnacle/)
 * [Active Topics](https://wordpress.org/support/theme/pinnacle/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/pinnacle/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/pinnacle/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [kk_admin](https://wordpress.org/support/users/kk_admin/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/widget-text-field-aligning-issue/#post-7328242)
 * Status: resolved