• 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

Right Header Widget Looks Horrible on Mobile Responsive site?

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 › Right Header Widget Looks Horrible on Mobile Responsive site?

This topic is: not resolved

Tagged: css, mobile responsive, right header widget

  • This topic has 3 replies, 3 voices, and was last updated 10 years, 9 months ago by Jeremy.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 29, 2015 at 8:21 pm #139005
    swstudio
    Participant

    http://tinyurl.com/ldevx9u

    Anyone have a thought on how to make the home page side widget with the phone number and fax align to center?

    Thank you. So stuck on this point. Don't want to remove it but may have to.

    http://tinyurl.com/ldevx9u
    January 29, 2015 at 8:38 pm #139006
    Porter
    Participant

    In your style.css, you'll have all of your "media queries" down at the very bottom, these are essentially specific instructions for when the screen area is smaller (generally mobile). Locate your smallest media query section (should be at the VERY bottom of style.css), and add this anywhere in there:

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

    site-header / widget-area are the "selectors" for the area in question, and by putting the code here, you're telling the site to center align when the screen is that size. When it's normal, the text-align is right (somewhere in your current code sets it to this, which likely looks best on the desktop view).

    Let me know if that works, and if you need any more help.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    January 30, 2015 at 2:17 pm #139078
    swstudio
    Participant

    Thank you so much for your help. No, that doesn't work though. I'm going to call it for the week.

    I would think Studiopress would design its "mobile responsive" themes with this feature. I must have coded something wrong, despite my best intentions.

    Thanks.

    S

    January 30, 2015 at 6:58 pm #139101
    Jeremy
    Participant

    In style.css line 1091...

    .site-header .widget-area .widget {
    margin-bottom: 0;
    text-align: center;
    }


    If you want to say thanks Follow me on Twitter | My Website

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 2025 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