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 and functions.php on Github.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Header scrolls with page’ is closed to new replies.