• 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

three widets, side by side

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 › three widets, side by side

This topic is: not resolved

Tagged: genesis_header, Sample Theme, site-header

  • This topic has 5 replies, 4 voices, and was last updated 7 years, 8 months ago by luque007.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • August 27, 2018 at 1:23 pm #222751
    Blenda Yáñez
    Participant

    Hi!.

    Please, how can remove the header and add three widets, side by side in sample theme?

    Thanks,

    https://elmensajedelacruz.cl/
    August 28, 2018 at 3:39 am #222756
    Brad Dalton
    Participant

    Which widgets?


    Tutorials for StudioPress Themes.

    August 28, 2018 at 5:32 pm #222781
    Blenda Yáñez
    Participant

    Hi, braddalton!

    Sorry! Now the sample theme is online!

    I want to install three new widgets below the menu and logo

    Thank you.

    August 28, 2018 at 5:56 pm #222783
    Brad Dalton
    Participant

    1. You could remove the header and hook in 3 widgets.

    Or

    2. Remove the header and replace it with 1 widget area which you can populate with 3 widgets then use CSS to display them inline.

    Something like this should get you started:

    remove_action( 'genesis_header', 'genesis_do_header' );
    add_action( 'genesis_header', 'header_widgets' );
    function header_widgets() {
    
    genesis_widget_area( 'header-widget', array(
    	'before'=> '<div class="header-widget widget-area">',
    	'after'	=> '</div>',
    ) );
    
    }
    

    You'll also need to register a widget using the header-widget I.D and add CSS. https://www.w3schools.com/css/css_grid.asp

    genesis_register_sidebar( array(
    	'id'			=> 'header-widget',
    	'name'			=> __( 'Header Widget' ) ) );
    

    If you want to keep the title area, don't add the line of code to remove the header.


    Tutorials for StudioPress Themes.

    September 1, 2018 at 10:55 am #222865
    Blenda Yáñez
    Participant
    This reply has been marked as private.
    September 2, 2018 at 10:20 pm #222884
    aroofaasali
    Member

    ok. Thanks


    Aroofa Asali

    September 3, 2018 at 10:21 am #222896
    luque007
    Member

    Good Job!!!


    Especialistas en Cocinas
    https://www.cocinaslubaysevilla.es

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ 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

© 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