- This topic has 19 replies, 2 voices, and was last updated 6 years, 1 month ago by .
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › How to make my header sticky on scroll using SKT Golf theme
https://imgur.com/OSs9WR2
I having issues when I try to do sticky header using the following code. I tried changing the px values and still having the issues….
.header { z-index:99999999 !important;}
.header { position:fixed !important;}
#slidera { margin-top:50px !important;}
@media screen and (max-width:479px) {
.slider-wrapper { margin-top:80px;}
}
Please help me fix this.. This is a screenshot form iPad..
Thank you
Hi,
Kindly use this one
@media screen and (min-width:480px) and (max-width:767px) {
.slider-wrapper { margin-top:80px;}
}
@media screen and (min-width:768px) and (max-width:1023px) {
.slider-wrapper { margin-top:80px;}
}
@media screen and (min-width:1024px) and (max-width:1160px) {
.slider-wrapper { margin-top:50px;}
}
Regards,
Chris
Thanks Chris, It worked.
????
WordPress CRM Plugins For those who are looking for the best WordPress CRM plugins to boost their businesses online, we have the needed list and […]
WordPress Form Builder Plugins Building a website without forms is like opening a store without doors. You need ways for visitors to contact you, sign […]
Every WordPress website relies on a MySQL database to store everything from your content and user information to site settings and plugin configurations. Yet many […]