• 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

Swank Top Bar Widget Sizing

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 › Swank Top Bar Widget Sizing

This topic is: not resolved
  • This topic has 4 replies, 3 voices, and was last updated 10 years, 10 months ago by emasai.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 24, 2014 at 8:15 am #115689
    NCKTessa
    Member

    I tried to post this question a few days ago and it's still not showing up in my forum posts, so apologies if it's already floating around out there somewhere.

    I'm using Swank theme and have populated both the top bar (above the header) widgets. The one on the right is only one "line" with nothing in the Title field for the text widget. As you can see, it "jumps" to the top of the widget area. However, I want that text ("Fairfield County, CT and Beyond") to sit on the border below it, on the same line as the title of the current post in the left top bar widget. That should make sense immediately when looking at the page. From what I can tell, the area it sits in is automatically resizing because I haven't entered a text widget title. I thought changing the box-sizing might fix it, but I'm not sure where to do that or what values to use. Thanks!

    http://www.naturalcomfortkitchen.com/
    July 24, 2014 at 8:40 am #115697
    emasai
    Participant

    Add margin-top: 20px; to .top-bar-right


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    July 24, 2014 at 8:42 am #115698
    Yer Ly
    Member

    In your theme folder open up the "styles.css" file.

    Find the following line of code:

    .top-bar-right .widgettitle {
        text-align: right;
    }

    After it, add the following:

    .top-bar-right .textwidget {
        padding-top: 20px;
    }

    Play around with the number 20 to get it correct.

    July 24, 2014 at 10:31 am #115712
    NCKTessa
    Member

    Thanks, I tried the later and it worked, BUT if I decide later to add a title to the text widget, I get a gap between the title and the content text. I was hoping for a solution that could address the auto-sizing of the widget based on the presence of a title or not. I'm not sure if this goes beyond the CSS but I'm fine if it does, if there's anything that might be worth trying.

    July 24, 2014 at 10:33 am #115713
    emasai
    Participant

    Whichever solution you choose you will still have to modify the margin or padding if you add a title later on.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

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