Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display sticky header on all pages #1262

Merged
merged 13 commits into from
Aug 3, 2016
Merged
2 changes: 1 addition & 1 deletion css/editor-style.min.css

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion homepages/assets/css/single.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion homepages/assets/css/top-stories.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/enqueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function largo_enqueue_js() {
'is_home' => is_home(),
'is_single' => is_single() || is_singular(),
'sticky_nav_options' => array(
'sticky_nav_display_article' => (bool) of_get_option( 'sticky_nav_display_article', 1 ),
'sticky_nav_display' => (bool) of_get_option( 'sticky_nav_display', 0 ),
'main_nav_hide_article' => (bool) of_get_option( 'main_nav_hide_article', 0 ),
'nav_overflow_label' => of_get_option( 'nav_overflow_label', 'More' )
)
Expand Down
Loading