• 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

Remove top widgets from landing page swank theme

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 › Remove top widgets from landing page swank theme

This topic is: resolved

Tagged: landing page, swank, top widgets

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 1 month ago by Davinder Singh Kainth.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 17, 2015 at 9:29 am #162622
    christieinge
    Member

    HI there,

    I created a landing page for Swank theme using the instructions found here:

    http://www.wpstuffs.com/create-landing-page-genesis-child-theme/#landing

    And it worked perfectly except that the top widgets are still there.

    How do I modify this css so that they are removed?

    Thank you

    August 17, 2015 at 9:37 am #162627
    Davinder Singh Kainth
    Member

    Add remove action code to your landing page template. For example:

    //* Remove Before Header widget area
    remove_action( 'genesis_before_header', 'sample_before_header' );

    Look for add_action in functions.php for the required widgets and replace with remove_action and paste in landing page template.


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    August 19, 2015 at 7:49 am #162830
    christieinge
    Member

    Thank you so much!! That worked.

    August 19, 2015 at 9:10 am #162840
    Davinder Singh Kainth
    Member

    Welcome!


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove top widgets from landing page swank theme’ 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

© 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