Title: Header scrolls with page
Last modified: January 30, 2019

---

# Header scrolls with page

 *  Resolved [ecdedios](https://wordpress.org/support/users/ecdedios/)
 * (@ecdedios)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/header-scrolls-with-page/)
 * The header scrolls with the rest of the page; it does not stick like it’s supposed
   to.
 * <?php
    function bento_child_enqueue_styles() { $parent_style = ‘bento-theme-styles’;
   wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
   wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’,
   array( $parent_style ), wp_get_theme()->get(‘Version’) ); } add_action( ‘wp_enqueue_scripts’,‘
   bento_child_enqueue_styles’ );
 * Here’s the [style.css](https://github.com/ecdedios/bento-child/blob/master/style.css)
   and [functions.php](https://github.com/ecdedios/bento-child/blob/master/functions.php)
   on [Github](https://github.com/ecdedios/bento-child).
    -  This topic was modified 7 years, 5 months ago by [ecdedios](https://wordpress.org/support/users/ecdedios/).
    -  This topic was modified 7 years, 5 months ago by [ecdedios](https://wordpress.org/support/users/ecdedios/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fheader-scrolls-with-page%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [satoristudio](https://wordpress.org/support/users/satoristudio/)
 * (@satoristudio)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/header-scrolls-with-page/#post-11147500)
 * Hello [@ecdedios](https://wordpress.org/support/users/ecdedios/), have you ticked
   the “Fix header on top of page on scroll” checkbox in the “Site Elements” tab
   of the Appearance -> Customize admin section?
 *  Thread Starter [ecdedios](https://wordpress.org/support/users/ecdedios/)
 * (@ecdedios)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/header-scrolls-with-page/#post-11151818)
 * You’re absolutely right; I forgot to set in the customization. Thanks, you’re
   the best!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Header scrolls with page’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bento/2.5/screenshot.png)
 * Bento
 * [Support Threads](https://wordpress.org/support/theme/bento/)
 * [Active Topics](https://wordpress.org/support/theme/bento/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bento/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bento/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)

 * 2 replies
 * 2 participants
 * Last reply from: [ecdedios](https://wordpress.org/support/users/ecdedios/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/header-scrolls-with-page/#post-11151818)
 * Status: resolved