Title: Mobile button text not centred
Last modified: October 22, 2017

---

# Mobile button text not centred

 *  [Nick Banduch](https://wordpress.org/support/users/yowinternet/)
 * (@yowinternet)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/mobile-button-text-not-centred/)
 * Hi
    I am using MaxButtons 6.23 for resposive website [https://jtiotsims.com](https://jtiotsims.com)
   the desktop view of buttons text is centred perfect. However when you go into
   mobile view the same buttons created have button text not in the middle center
   of the button. And the button size is extended to the width of the mobile screen.
 * I have unable to find a setting to correct this, and need to get this fixed so
   button text is centered to the button and it is not scretched to width of the
   mobile screen.
 * here is the system information of the site:
    —– Begin System Info —– WordPress
   Version:4.8.2 PHP Version:5.6.31 MySQL Version:5.5.56 Web Server:Apache/2.4.6(
   CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.45 WordPress URL:[https://jtiotsims.com](https://jtiotsims.com)
   Home URL:[https://jtiotsims.com](https://jtiotsims.com) PHP cURL Support:Yes 
   PHP GD Support:Yes PHP Memory Limit:256M PHP Post Max Size:64M PHP Upload Max
   Size:2M WP_DEBUG:Disabled Multi-Site Active:No Operating System:Windows Browser:
   Mozilla Firefox 56.0 User Agent:Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) 
   Gecko/20100101 Firefox/56.0 Active Theme: -Headway Base 3.8.9 [http://www.headwaythemes.com](http://www.headwaythemes.com)
   Active Plugins: -AddToAny Share Buttons 1.7.20 [https://www.addtoany.com/](https://www.addtoany.com/)-
   Advanced iFrame 7.5.1 [http://www.tinywebgallery.com/blog/advanced-iframe](http://www.tinywebgallery.com/blog/advanced-iframe)-
   Akismet Anti-Spam 4.0 [https://akismet.com/](https://akismet.com/) -Cookie Consent
   2.3.4 [http://catapultthemes.com/cookie-consent/](http://catapultthemes.com/cookie-consent/)-
   Disable Comments 1.7 [https://wordpress.org/plugins/disable-comments/](https://wordpress.org/plugins/disable-comments/)-
   Duplicate Page 2.3 [https://wordpress.org/plugins/duplicate-page/](https://wordpress.org/plugins/duplicate-page/)-
   Ginger Soul Records SoulSections Block 1.4.1 [http://www.gingersoulrecords.com/blocks/soulsections](http://www.gingersoulrecords.com/blocks/soulsections)-
   Gravity Forms 2.2.5 [http://www.gravityforms.com](http://www.gravityforms.com)-
   Gravity Forms MailChimp Add-On 4.2.3 [http://www.gravityforms.com](http://www.gravityforms.com)-
   Gravity Forms User Registration Add-On 3.7.6 [http://www.gravityforms.com](http://www.gravityforms.com)-
   Gravity Forms Zapier Add-on 2.1.3 [http://www.gravityforms.com](http://www.gravityforms.com)-
   ImageLinks Lite 1.4.0 [https://codecanyon.net/item/imagelinks-interactive-image-builder-for-wordpress/16654231?ref=avirtum](https://codecanyon.net/item/imagelinks-interactive-image-builder-for-wordpress/16654231?ref=avirtum)-
   Kanzu jtiotsims.com 1.0.0 [https://kanzucode.com](https://kanzucode.com) -Loginizer
   1.3.8 [http://wordpress.org/extend/plugins/loginizer/](http://wordpress.org/extend/plugins/loginizer/)-
   MaxButtons 6.23 [http://maxbuttons.com](http://maxbuttons.com) -Max Mega Menu
   2.4 [https://www.megamenu.com](https://www.megamenu.com) -Max Mega Menu – Pro
   Addon 1.6.3 [https://www.megamenu.com](https://www.megamenu.com) -New Video Gallery
   0.3.10 [http://awplife.com/](http://awplife.com/) -PE Recent Posts 1.1.3 [http://pixelemu.com](http://pixelemu.com)-
   Pizazz ExcerptsPlus (Headway 3 Block) 3.4.14 [http://guides.pizazzwp.com/excerptsplus/about-excerpts/](http://guides.pizazzwp.com/excerptsplus/about-excerpts/)-
   PizazzWP Libraries (Headway version) 1.7.4 [http://pizazzwp.com](http://pizazzwp.com)-
   Social Media Widget 4.0.6 [http://wordpress.org/extend/plugins/social-media-widget/](http://wordpress.org/extend/plugins/social-media-widget/)-
   SSL Insecure Content Fixer 2.4.0 [https://ssl.webaware.net.au/](https://ssl.webaware.net.au/)-
   Styles & Layouts Gravity Forms 3.0.1 [http://wpmonks.com/styles-layouts-gravity-forms](http://wpmonks.com/styles-layouts-gravity-forms)-
   Testimonial Rotator 2.2.4.1 [https://halgatewood.com/testimonial-rotator](https://halgatewood.com/testimonial-rotator)-
   TF Random Numbers 1.5 [http://themeflection.com/plug/number-counter-animation-wordpress-plugin/](http://themeflection.com/plug/number-counter-animation-wordpress-plugin/)-
   Ultimate FAQ 1.6.5 [http://www.EtoileWebDesign.com/wordpress-plugins/](http://www.EtoileWebDesign.com/wordpress-plugins/)-
   Use Any Font 4.7.3 [http://dineshkarki.com.np/use-any-font](http://dineshkarki.com.np/use-any-font)-
   WooCommerce 3.2.1 [https://woocommerce.com/](https://woocommerce.com/) -WooCommerce–
   Gravity Forms Product Add-Ons 3.1.11 [http://woothemes.com/products/gravity-forms-add-ons/](http://woothemes.com/products/gravity-forms-add-ons/)-
   WooCommerce Checkout Manager 4.1.6 [https://wordpress.org/plugins/woocommerce-checkout-manager/](https://wordpress.org/plugins/woocommerce-checkout-manager/)-
   WooCommerce Colors 1.0.7 [http://wordpress.org/plugins/woocommerce-colors/](http://wordpress.org/plugins/woocommerce-colors/)-
   WooCommerce Direct Checkout 1.1.2 [http://terrytsang.com/shop/shop/woocommerce-direct-checkout/](http://terrytsang.com/shop/shop/woocommerce-direct-checkout/)-
   WooCommerce kvanto Payment Solutions Gateway 1.2 [http://www.kvanto.com](http://www.kvanto.com)-
   WooCommerce Menu Cart 2.6.0 [http://www.wpovernight.com/plugins](http://www.wpovernight.com/plugins)-
   WP Maintenance Mode 2.0.9 [http://designmodo.com/](http://designmodo.com/) -Yoast
   SEO 5.6.1 [https://yoast.com/wordpress/plugins/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin](https://yoast.com/wordpress/plugins/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin)—–
   End System Info —–
 * Look forward to assistance on how to fix this issue.
    Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmobile-button-text-not-centred%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/mobile-button-text-not-centred/#post-9610671)
 * Hi,
 * Did you change anything after writing this question? I see that you use different
   buttons for the mobile view than for the desktop view which seems good.
 * I can see the text is too much to the top of the button. This is because the 
   font-size is being set smaller in responsive view. What you can try for the mobile
   buttons is to set a bottom and top padding, so that it will force the text to
   stay in the middle.
 * The width of the button is set to 90% of the screen width right now and that 
   seems to work fine. You can decrease that setting more to your liking, but for
   me it doesn’t look that bad.
 * Also did you know that you can just use the shortcodes to change the text / URL
   on similar buttons? This will save a lot of time since you won’t have to change
   the settings for each button all the time and the output would be consistent:
 * e.g :
    `[maxbutton id=x text="example" url="http://example.com"]`

Viewing 1 replies (of 1 total)

The topic ‘Mobile button text not centred’ is closed to new replies.

 * ![](https://ps.w.org/maxbuttons/assets/icon-128x128.png?rev=1378636)
 * [MaxButtons - Create buttons](https://wordpress.org/plugins/maxbuttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxbuttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxbuttons/)
 * [Active Topics](https://wordpress.org/support/plugin/maxbuttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxbuttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxbuttons/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/mobile-button-text-not-centred/#post-9610671)
 * Status: not resolved