Sticky Header Menu
Topics related to Realistic theme goes here.
-
-
- Posts: 41
- Joined: Mon Dec 11, 2017 12:37 pm
- Display Name: TahMiD Borhan
How To Stick Header Nav Menu when Scrolling Page?
- Asmi Khalil
-
- Posts: 779
- Joined: Fri Jun 26, 2015 7:13 am
- Display Name: Asmi Khalil
- Location: Tunisia
Hi again,
To be honest, the theme was designed to have this feature supported but the Material Design Lite framework becomes messy and a new scrollbar will appear when the header is fixed.
But there is a pure CSS solution without using the framework classes (I still prefer to get this done using only the framework classes). Simply add this code to Appearance => Customize => Additional CSS and see the magic happens
To be honest, the theme was designed to have this feature supported but the Material Design Lite framework becomes messy and a new scrollbar will appear when the header is fixed.
But there is a pure CSS solution without using the framework classes (I still prefer to get this done using only the framework classes). Simply add this code to Appearance => Customize => Additional CSS and see the magic happens

.site-header {
position: fixed;
}
#content {
padding-top: 80px;
}
I think there is a world market for maybe five computers. - IBM chairman Thomas Watson, 1943
- Asmi Khalil
-
- Posts: 779
- Joined: Fri Jun 26, 2015 7:13 am
- Display Name: Asmi Khalil
- Location: Tunisia
admin wrote:Hi again,
To be honest, the theme was designed to have this feature supported but the Material Design Lite framework becomes messy and a new scrollbar will appear when the header is fixed.
But there is a pure CSS solution without using the framework classes (But I still prefer to get this done using only the framework classes). Simply add this code to Appearance => Customize => Additional CSS and see the magic happens![]()
.site-header { position: fixed; } #content { padding-top: 80px; }
I think there is a world market for maybe five computers. - IBM chairman Thomas Watson, 1943
-
-
- Posts: 41
- Joined: Mon Dec 11, 2017 12:37 pm
- Display Name: TahMiD Borhan
Thank You, Soo Much!! It's Working Like a Magic! 

- Asmi Khalil
-
- Posts: 779
- Joined: Fri Jun 26, 2015 7:13 am
- Display Name: Asmi Khalil
- Location: Tunisia
Most welcome!
Glad I helped you
If you like our theme, please consider leaving your review on https://wordpress.org/support/theme/rea ... /#new-post
Your support is much appreciated!
Glad I helped you

If you like our theme, please consider leaving your review on https://wordpress.org/support/theme/rea ... /#new-post
Your support is much appreciated!
I think there is a world market for maybe five computers. - IBM chairman Thomas Watson, 1943
-
-
- Posts: 41
- Joined: Mon Dec 11, 2017 12:37 pm
- Display Name: TahMiD Borhan
Sure Man!! Why Not? Your Support Is Awesome And I Appreciate That.
I am Gonna Give it 5 Star Rating on WP Org. Only Cuz of The Dedicated Support. and Yes, This is the most simple and clean wp theme.
I am Gonna Give it 5 Star Rating on WP Org. Only Cuz of The Dedicated Support. and Yes, This is the most simple and clean wp theme.
- Asmi Khalil
-
- Posts: 779
- Joined: Fri Jun 26, 2015 7:13 am
- Display Name: Asmi Khalil
- Location: Tunisia
Thanks so much for the encouraging words
And for the valuable review!

And for the valuable review!
I think there is a world market for maybe five computers. - IBM chairman Thomas Watson, 1943
Who is online
Users browsing this forum: No registered users and 1 guest
It is currently Sun Feb 17, 2019 5:50 am