• 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

How to vertically center primary sidebar on Streamline Pro?

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 › How to vertically center primary sidebar on Streamline Pro?

This topic is: resolved

Tagged: primary sidebar, streamline pro

  • This topic has 10 replies, 3 voices, and was last updated 8 years, 4 months ago by Robert.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • June 22, 2017 at 10:35 am #208087
    jasonyormark
    Member

    I made some header adjustments to the logo side that seemed to put the alignment out of whack for the primary sidebar area. How can I adjust this to be centered vertically?

    June 22, 2017 at 11:17 am #208089
    Victor Font
    Moderator

    Not sure why, but clicking on your post title is requesting a userid and password for WPEngine twice.

    Please post a link to the site.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 22, 2017 at 11:18 am #208090
    jasonyormark
    Member

    http://comebackerdev.wpengine.com/

    user: demo
    password: sideout

    Thanks.

    June 22, 2017 at 11:31 am #208092
    Robert
    Member

    Thought you wanted to center you nav at first:

    I used this code and it put the social media widgets to the middle of the header and looked OK on mobile as well.

    
    .site-header .widget-area {
    	float: right;
    	text-align: right;
    	width: 720px;
    	vertical-align: middle;
    	vertical-align: bottom;
    	<strong>margin-top: 2%;</strong>
    }

    This is line 1020 in your stylesheet.

    Add this to your code and it will center the nav:

    .genesis-nav-menu {
    	clear: both;
    	color: #999;
    	line-height: 1;
    	width: 100%;
    	<strong>text-align: center;</strong>
    }

    It is line 1042 in your stylesheet. Under `

    /*
    Site Navigation
    ---------------------------------------------------------------------------------------------------- */`


    -Robert McMillin
    RobertMcMillin.com

    June 22, 2017 at 11:36 am #208093
    jasonyormark
    Member

    Tried that and it didn't move anything. Just to clarify, this is for the social media icons on the top right in the header area.

    June 22, 2017 at 11:39 am #208096
    Robert
    Member

    Sorry about that, that code centered the nav which is what I thought you meant originally. Here is some code that should do the trick as a quick fix.

    /* Widget Area
    --------------------------------------------- */
    
    .site-header .widget-area {
    	float: right;
    	text-align: right;
    	width: 720px;
    	vertical-align: middle;
    	vertical-align: bottom;
    	margin-top: 2%;
    }
    

    You are only adding this code to the existing style:

    margin-top: 2%;


    -Robert McMillin
    RobertMcMillin.com

    June 22, 2017 at 11:41 am #208097
    Robert
    Member

    Also, just from a style standpoint the centered nav, in my opinion, looks better for your site design. So you may want to consider using that code as well.


    -Robert McMillin
    RobertMcMillin.com

    June 22, 2017 at 11:42 am #208098
    Robert
    Member

    Also don't add the <strong> </strong> tags, that was a mistake on my part, I was just trying to emphasize the line of code you needed to add.


    -Robert McMillin
    RobertMcMillin.com

    June 22, 2017 at 11:49 am #208101
    jasonyormark
    Member

    Thanks a ton for your help! Worked great.

    June 22, 2017 at 12:58 pm #208112
    Robert
    Member

    You're very welcome! Glad I could help


    -Robert McMillin
    RobertMcMillin.com

    June 22, 2017 at 4:53 pm #208135
    Robert
    Member

    Would you mind marking this issue as resolved? Thanks!


    -Robert McMillin
    RobertMcMillin.com

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