Home › Forums › Support › Customizing header – sticky This topic has 5 replies, 2 voices, and was last updated 4 months, 3 weeks ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 24, 2022 at 7:00 am #2384111 Leonardo Hey guys, I’m customizing with GB my header this way: Elements –> block –> site header. Is it possible to add a sticky effect to entire header? October 24, 2022 at 7:35 am #2384145 DavidStaff Customer Support Hi there, it would require CSS. Can i see the site where this header is ? Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ October 24, 2022 at 1:40 pm #2384651 Leonardo Hi David, i’m training with localwp so unfortunately I can’t share. Anyway, it’s good to know that there isn’t a direct function but it needs css instead. Are there any examples? I looked for them but couldn’t find anything. Thanks October 25, 2022 at 2:13 am #2385125 DavidStaff Customer Support Ok, so try this: 1. you block element, i assume it starts with a GB Container Block. Select that – and in Advanced > Additional CSS Class(es) add: sticky-header 2. Add the following CSS to your site: .sticky-header { position: sticky; top: 0; } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ October 25, 2022 at 4:26 am #2385260 Leonardo It works perfectly! Thanks David October 25, 2022 at 5:44 am #2385306 DavidStaff Customer Support Glad to hear that Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In