• 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

Agency Pro – Center the Header Right 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 › General Discussion › Agency Pro – Center the Header Right Widget

This topic is: resolved

Tagged: center, header right widget

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 4 months ago by Andras.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 15, 2019 at 12:54 pm #306157
    Andras
    Participant

    Hi,

    I would like to have the Header Right Widget in the center of the header.

    So that the logo is in the middle of the header, phone number to the left, email to the right.

    I included this code in add CSS:

    .site-title{
    display: none;
    }

    I am afraid, a more sophisticated approach might be needed here 🙂

    I appreciate your help.

    http://interponyva.wstart.hu
    January 15, 2019 at 2:30 pm #306914
    Victor Font
    Moderator

    Your going to run into issues placing it in the center. It's going to push down over your menu so it's no longer visible. It's all fixable though.

    First, to center header right area, change the .site-header .widget-area class at line 1061 in style.css to remove the float: right; and add margin: 0 auto;

    .site-header .widget-area {
        text-align: center;
        width: 800px;
        margin: 0 auto;
    }

    Next, to see the menu again, increase the top padding to 109px for the .site-container class at line 547 in style.css:

    .header-full-width .site-container, .site-container {
        padding-top: 109px;
    }

    You also have an error in your widget code. There is no clearfix class in the theme's style sheet. Change clearfix to first.


    Regards,

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

    January 16, 2019 at 12:47 am #311834
    Andras
    Participant

    Thank you! Perfect. It looks just as I hoped.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Agency Pro – Center the Header Right Widget’ is closed to new 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