• 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

Move Site Title Above Main Navigation

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 › Move Site Title Above Main Navigation

This topic is: not resolved

Tagged: Infinity Pro, site title

  • This topic has 6 replies, 2 voices, and was last updated 3 years, 9 months ago by randit.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 18, 2019 at 1:32 pm #491692
    randit
    Member

    Hello:
    I am using the Infinity Pro theme and need to move the site title (site logo) to display above the main navigiation. It currently displays to the left of the navigiation.

    I have installed the Genesis - Simple Hooks plugin and when I check Unhook genesis_do_header() function from the genesis_header Hook the site title/logo is removed. I just don't know what code to add where to now place it above the main nav area.

    Oh... and I'd love to also know how to center it one moved. Would I use this css margin: {0 auto;}

    Thank you in advance for your help and suppport! 🙂

    June 18, 2019 at 10:07 pm #491699
    Brad Dalton
    Participant

    You mean above the site header? The primary nav is repositioned to the genesis_header hook within the site header.

    I assume you want to reposition the title before the site header or reposition the menu after the site header.

    Here's the code to remove the site title https://my.studiopress.com/documentation/snippets/header/remove-the-site-title/

    You can then add it back using any Genesis hook.


    Tutorials for StudioPress Themes.

    June 19, 2019 at 12:01 pm #491708
    randit
    Member

    Hi:
    I think this is probably an easy task but I can't get it. I have removed the site title by adding the above referenced code to the functions file. Yes, I think to accomplish this I do need to reposition the title before the site header. Using the Genesis Simple Hooks plugin would I enter the code into the genesis_before_header Hook and if so what code do I enter here?

    Thank you!

    June 19, 2019 at 12:10 pm #491709
    randit
    Member

    Hi Again!
    I got it! I added <?php
    add_action( 'genesis_site_title', 'genesis_seo_site_title' );
    to genesis_before_header Hook

    Now... I just need to gt it to center! 🙂

    June 19, 2019 at 6:11 pm #491725
    Brad Dalton
    Participant

    Try one of these methods https://www.w3.org/Style/Examples/007/center.en.html


    Tutorials for StudioPress Themes.

    June 24, 2019 at 2:15 pm #491891
    randit
    Member
    This reply has been marked as private.
    June 27, 2019 at 11:50 am #491980
    randit
    Member

    HI!

    I have tried to use the methods described in the link (thanks for the info!) but still running into problems. There must be other coding or something preventing this from working but I can't find it. I have tried adding !important also. The best luck I have had is margin-left: 50% but that is not aligning up in the middle. Can you take a peek?
    http://dsir-idx.flywheelsites (dot) com Thank you! 🙂

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

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