• 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

Modern Portfolio: 2 custom header widget areas and CSS

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 › Modern Portfolio: 2 custom header widget areas and CSS

This topic is: resolved

Tagged: css, custom widgets, Header Left, header right, modern portfolio, widgets next to each other

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 2 months ago by diegocerezo.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 10, 2013 at 10:41 pm #40425
    diegocerezo
    Member

    Hello People from StudioPress, first I would like to thank you in advance for all the help! I really appreciate it!

    I have added 2 custom header widget areas a right one and a left one, the reason for this is that I need social icons on the left and a search bar on the right and I need them to show at the same level (currently they are showing at different heights).

    here is the gist

    With CSS I´ve made them half the size of the site wich is 520px, I also used float to make the right header show on the right:

    
    .header_left {
     width: 515px;
    }
    
    .header-right-extra {
     width: 515px;
     float: right;
    }
    
    

    I also need the logo to show under the two widgets and in the middle

    Again thanks a lot!

     

    http://equilibre.gt
    May 11, 2013 at 10:21 am #40459
    psahalot
    Member

    Here is the CSS that you need to use :

    `header-right-extra {
    width: 515px;
    float: right;
    margin-top: 10px;
    }

    .header_left {
    width: 515px;
    float: left;
    margin-top: 10px;
    }
    `

    May 11, 2013 at 1:51 pm #40500
    diegocerezo
    Member

    Thanks a lot, i have very little experience but seeing your css code with the margin mods led me to the solution.

    Your code works like a charm, the only thing is that the do not end next to each other, don´t know why, beats me.

    But taking your code I started playing around with some other atributes and the end up working pretty nice, exactly what i need

    here is the CSS code

    [CSS]

    .header_left {
    width: 515px;
     margin-top: 20px;
    }
    
    .header-right-extra {
     position: fixed;
     top: -40px;
     right: 200px;
     width: 300px;
     float: right;
    }
    
    [/CSS]
    
     
  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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