WordPress HowTo

How-to guide for WordPress

  • Home
  • Plugins
  • Themes
  • Contact
    • Privacy Policy
  • About

How To Disable Sticky Header in a Genesis Child Theme

As you may all know Genesis is a popular theme framework for creating a powerful, SEO-friendly, customizable, beautiful website in WordPress. This framework can be extended even further with a Genesis Child theme (also known as StudioPress theme) to design almost anything you want. One key feature found in some of these themes is “sticky header”. While sticky header is a cool feature it may not always function properly on mobile devices. Unfortunately, there is no setting in Genesis to easily turn this on/off. In this article, I will show you how you can disable this sticky header on your website without having to touch the core theme files.

How To Disable Sticky Header in Genesis

1. Go to Appearance > Customize from your WordPress admin dashboard.

screenshot showing how to navigate to the appearance customize menu in wordpress

2. Click on Additional CSS.

screenshot showing how to navigate to the additional css menu of the genesis theme customizer

3. Copy and paste this CSS into the Additional CSS editor.

.site-header{
position: absolute;
}
screenshot showing how to specify the css to disable sticky header in genesis theme

4. Click Publish and close the theme customizer.

Now open your site in a new tab and you will see that the header is not sticky anymore as you scroll down. This tweak is very efficient because it will stay there even if you update the theme.

Genesis theme (affiliate link): https://shrsl.com/2bgne

Have you applied the same tweak to disable sticky header in your Genesis child theme? Feel free to share your thoughts in the comments below.

Related

Written by Noor Alam · Categorized: wordpress

Comments

  1. PaginasPuebla says

    Thank you, that works for me 🙂

    Reply
  2. Sam says

    great, it work for my. but it disable all different size of screen. Could you provide the code that disable sticky header in a Genesis Child Theme only at mobile screen size?

    Thanks

    Reply
  3. Jeremiah Say says

    Thank you! This is really helpful.

    Reply
  4. Oyvind says

    Hi, I just tried this. It’s no longer sticky, but now the start of the content starts at the top of the page instead of after the header. So instead of the header coming first, then the content. The header and the content both start at top so that I cannot see the first 70px of the content.

    Reply
  5. John says

    good tutorial

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search WP HowTo

Recent Posts

  • Custom Donations for WordPress PayPal Donate Buttons
  • Gmail SMTP Plugin Cc Configuration
  • How to Add a Reply-To Address in the Gmail SMTP WordPress Plugin
  • What Does a Security Challenge Mean on PayPal?
  • WP PayPal Button Integration with Contact Form 7
  • Can People See Your Address on PayPal?
  • Mailchimp Integration for WP PayPal Plugin
  • How to Show a Text Box at WP PayPal Checkout to Collect Custom Data from Buyers
  • How to Add a Recurring Price Field to a PayPal Subscription Button
  • How to Add a Quantity Field to a PayPal Button

Featured Add-ons

Buy Now Custom Amount for PayPal

Buy Now Discount for PayPal

Contact Form 7 Integration for PayPal

Custom Input for PayPal

Mailchimp Integration for PayPal

Product Variations for PayPal

Variable Quantity for PayPal

Variable Subscription for PayPal

Custom Donations for PayPal

Reply-To for Gmail SMTP

Cc for Gmail SMTP

Disable Right Click on Video.js

Copyright © 2023 · WordPress HowTo

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAcceptRead More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT