• 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

Help centering custom widget area at responsive break points

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 › Help centering custom widget area at responsive break points

This topic is: not resolved

Tagged: css, custom widget area

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 5 months ago by jorwesflow.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 22, 2013 at 12:06 pm #58243
    jorwesflow
    Participant

    I've created a custom widget for contact/social info with the ID "#top-bar". I want to be able to center it at the first responsive break point, which I've sort of managed to do by adding width: 100% at 1023px break point.
    At the second break point (767px), I want to hide the email address text leaving only the icon, which I've also managed to do by adding a class="email-text" to that link and adding display: none But the problem is, the whole thing isn't centered as you scale the width of the page down to test mobile responsiveness. It's probably some basic CSS, but then again, I'm a basic developer...

    Can anyone Firebug the pants off this and give me some ideas?

    http://www.openroaddetailing.com/draft/
    August 22, 2013 at 6:24 pm #58329
    bandj
    Member

    try adding a wrap to that div and then adjusting the wrap css.
    or
    get rid of the float, margin and text-align and adjust your padding for each break for example 10px 0 10px 100px

    very nice looking btw.

    August 25, 2013 at 3:34 pm #58774
    jorwesflow
    Participant

    Thanks! I'm honing my skills as a beginner developer... So how do I add a wrap to that div? It's already within the main wrap.

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