• 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

Where to add custom header code

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 › Where to add custom header code

This topic is: not resolved

Tagged: Custom header, genesis

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 8 months ago by SavvyJackie.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 21, 2015 at 11:12 am #148695
    webgirl20
    Member

    Hello,
    This is the code & image that I want to add to the Genesis sample theme header(logo in center, 2 nav menus on each side of logo). I cannot post a link as the site is not live.
    Where would you put this code as I am not quite sure where it goes.
    Any suggestions greatly appreciated

    
    #logo { 
    	background:url(images/tigerPawsLogo87x87.png) no-repeat;
     	background-size: 87px 87px;
    	 width: 87px;
    	 height: 87px;
    	 position: absolute;
    	 top: 20px;
    	 left: 460px;
    }
      
    header {
            width: 960px;
    	margin: 0 auto;
    	text-align: center;
    	position: relative;
    }
    
    nav li{
    	display: inline-block;
    	padding: 40px 30px 37px 0;
    }
    
    nav li:nth-child(2) {
    	padding-right: 20px;
    }
    
    nav li:nth-child(3) {
    	padding-left: 20px;
    }  
    
    
     <header>
    		<nav>
    			<ul>
     				<li>Home</li>
    				<li>Catalogue</li>
    				<li>Forum</li>
    				<li>Contact</li>
    			</ul>
    		</nav>
    		<div id="logo"></div>
    	</header>
    
    May 10, 2015 at 7:36 am #151446
    SavvyJackie
    Member

    Hi,
    Do you have a screenshot you can share of what the design is supposed to look like? Are you going to have two separate menu areas with the logo in the center of them?


    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

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