Archived topic
Sticky navigation styling seperated with primary navigation
3 replies · Started by Agus on September 24, 2017
I want my website to look like this : https://demo.yootheme.com/wordpress/avanti
so the static navigation width is contained and the sticky one is full width. Is there any additional CSS that i can add to it?? Thanks
Try this:
.main-navigation.navigation-stick.grid-container {
max-width: 100%;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thanks, it works :)
Do you have any documentation about the template element classes?? So i can adjust and customize the CSS by myself
Unfortunately no.
You can see all of them by using developer tool of your browser :) It's a very useful skill if you want to write your own CSS.