Title: Centering text
Last modified: November 6, 2016

---

# Centering text

 *  Resolved [trainingp](https://wordpress.org/support/users/trainingp/)
 * (@trainingp)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/centering-text-5/)
 * Hey there,
    I’m using Crelly Slider on Moesia Pro theme and having a problem 
   with centering text: it just doesn’t center it. you can see what I mean here:
   [stphouse.com/dev](http://stphouse.com/dev). The buttons, for example, suppose
   to be in the center of the slide but they’re not. I tried `margin: auto;` but
   it didn’t help, and also
 *     ```
       display: block;
       width: 100%;
       text-align: center;
       ```
   
 * How can I fix it?
 * Thanks!
    Hadas

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

 *  Thread Starter [trainingp](https://wordpress.org/support/users/trainingp/)
 * (@trainingp)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8409130)
 * Solved it:
 *     ```
       display: block !important;
       width: 1140px !important;
       text-align: center !important;
       margin: 0 auto !important;
       ```
   
 * When the width (1140px) is the minimum width set in the “Slider Setting” section.
   
   Remember to set the left setting on 0.
 * Hadas
 *  Thread Starter [trainingp](https://wordpress.org/support/users/trainingp/)
 * (@trainingp)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8409222)
 * Still have a problem, not responsive so on mobile the text is missing
 *  Plugin Author [Fabio Rinaldi](https://wordpress.org/support/users/fabiorino/)
 * (@fabiorino)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8409649)
 * Hi, do this:
 * 1) Add a text element, for example:
 *     ```
       Your first customers are your best
       <br />
       marketing and growth tool
       ```
   
 * 2) Scroll down to the Custom CSS text area and write:
    `text-align: center;`
 * 3) Scroll up a bit and click:
    Center horizontally
 *  Thread Starter [trainingp](https://wordpress.org/support/users/trainingp/)
 * (@trainingp)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8409860)
 * Hey, thanks for the answer.
 * That what I ended up doing, but it still doesn’t look good on screens smaller
   than 800px – it looks like there’s a padding on the bottom and the text is aligned
   too high, and I can manage to fix it using padding command.
 * Do you have an idea?
 * thanks,
    Hadas
 *  Plugin Author [Fabio Rinaldi](https://wordpress.org/support/users/fabiorino/)
 * (@fabiorino)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8418663)
 * The link in the first post doesn’t work anymore, could you fix it please?
    Also,
   consider that alignment is not always perfect, I know, let me take another look
   and I’ll be able to say something more.
 *  Thread Starter [trainingp](https://wordpress.org/support/users/trainingp/)
 * (@trainingp)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8432379)
 * Hey we had a problem with the server.
    the site is up again – you can see the
   slider here: [http://stphouse.com](http://stphouse.com)
 * Thanks,
    Hadas
 *  Thread Starter [trainingp](https://wordpress.org/support/users/trainingp/)
 * (@trainingp)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8432472)
 * Well I made some changes and I think it works now.
 *  Plugin Author [Fabio Rinaldi](https://wordpress.org/support/users/fabiorino/)
 * (@fabiorino)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8435163)
 * I am glad to hear that!
 *  [muenchen089](https://wordpress.org/support/users/muenchen089/)
 * (@muenchen089)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8705054)
 * Hi @ all,
 * i tried to copy the original css from the theme into the slider. this works great–
   only the whole box isn’t in center.
 * “text-align: center” and the “center horizontally button” won’t fix it.
    thanks
   for help
 *  [ha29](https://wordpress.org/support/users/ha29/)
 * (@ha29)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8743148)
 * hi
    i am facing the same issue with the text centre my website [gfcaterers.com](http://www.gfcaterers.com)
   my text is centred but i add a button on slider and use the same procedure but
   still not working for that button can u please help me?
    -  This reply was modified 9 years, 3 months ago by [ha29](https://wordpress.org/support/users/ha29/).
 *  Plugin Author [Fabio Rinaldi](https://wordpress.org/support/users/fabiorino/)
 * (@fabiorino)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8804881)
 * Please, could everyone that have a problem open a new post? It’s really difficult
   for me to see if a new comment has been posted and also helps to keep every discussion
   organised.

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

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

 * ![](https://ps.w.org/crelly-slider/assets/icon-128x128.jpg?rev=1305586)
 * [Crelly Slider](https://wordpress.org/plugins/crelly-slider/)
 * [Support Threads](https://wordpress.org/support/plugin/crelly-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/crelly-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crelly-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crelly-slider/reviews/)

## Tags

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

 * 11 replies
 * 4 participants
 * Last reply from: [Fabio Rinaldi](https://wordpress.org/support/users/fabiorino/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/centering-text-5/#post-8804881)
 * Status: resolved