• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Executive Pro Header – Centre Align Right Text Widget

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Executive Pro Header – Centre Align Right Text Widget

This topic is: not resolved

Tagged: executive pro, header, widget

  • This topic has 8 replies, 3 voices, and was last updated 10 years, 5 months ago by Spike05de.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • October 18, 2015 at 6:22 pm #168422
    Richtie
    Member

    I need the right hand widget to center / centre align when in mobile responsive mode.

    Site: http://www.mooresmaintenance.co.uk/

    In standard screen mode the logo is on the left and contact image on the right. When switching to mobile mode the logo centres on the screen however the contact image left aligns underneath it. I'd like to make this centre / center under the logo.

    Can anyone suggest a code update or point me in the right direction?

    Thanks


    Web design, SEO and Social Media
    http://www.andover-it.co.uk

    http://www.mooresmaintenance.co.uk/
    October 18, 2015 at 8:54 pm #168433
    Porter
    Participant

    If you're referring to the animated .gif with your contact info, it has no text-align. Simply find (or add):

    text-align: center;

    to the:

    header-widget-area {
    //code
    }

    You'll want to do this in your media queries (for mobile), not just anywhere, so find "header-widget-area" in your media queries and add the text-align center;, or add the entire section yourself.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    October 30, 2015 at 4:19 pm #169673
    Richtie
    Member

    Thanks Porter - that worked a treat 🙂


    Web design, SEO and Social Media
    http://www.andover-it.co.uk

    October 30, 2015 at 4:24 pm #169676
    Porter
    Participant

    Awesome, looks great, glad I could help!


    Buy me a beer? | Try DigitalOcean VPS Hosting

    January 11, 2016 at 12:02 pm #176237
    Spike05de
    Participant

    Where do I find the location for this Code?

    January 11, 2016 at 12:19 pm #176239
    Porter
    Participant

    style.css in your wp-content/theme (your theme name) folder.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    January 11, 2016 at 12:31 pm #176240
    Spike05de
    Participant

    I find not the right place to insert.

    January 11, 2016 at 1:42 pm #176243
    Porter
    Participant

    If it isn't already in your style.css media queries (at the bottom), you may need to add it. The final code (for mobile responsiveness only) is:

    header-widget-area {
         text-align: center;
    }

    Buy me a beer? | Try DigitalOcean VPS Hosting

    January 11, 2016 at 2:04 pm #176246
    Spike05de
    Participant

    Now it works for me, but not with this code.

    I have insert text-align: center;

    to Widget Area and resize the width of Widget Area from 820 to 250.

    Naturheilpraxis Pippir in Neu-Ulm

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble