Home › Forums › Support › Ads on the blog content and fixed sidebar. This topic has 5 replies, 2 voices, and was last updated 6 years, 6 months ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts May 30, 2017 at 10:10 pm #326449 Whelen Troy Hi, I wanted to exactly copy the format of the blog content in this webpage: https://www.healthambition.com/many-benefits-of-lemon-water/ 1. put an ad just above the content. 2. make the sidebar fixed. (if there’s a long content, i wanted that the last widget of the sidebar be fixed when i scroll down the entire content.) Thank you! May 30, 2017 at 11:05 pm #326458 LeoStaff Customer Support Hi there, 1. Inside content container hook should work http://demo.generatepress.com/hook-locations/ https://docs.generatepress.com/article/hooks-overview/ Then use a conditional tag so it’s blog page only: https://codex.wordpress.org/Conditional_Tags#The_Main_Page 2. This should help: https://generatepress.com/forums/topic/fixed-sidebar-after-scrolling/ May 31, 2017 at 12:31 am #326471 Whelen Troy Hi Leo, 1. How do you use the conditional tag? I’m very sorry but not familiar with it. 2. mystickysidebar works well on me. May 31, 2017 at 12:33 am #326472 LeoStaff Customer Support Try something like this in hooks and make sure execute php is checked: <?php if ( is_home() ) { ?> content for blog page only <?php } ?> May 31, 2017 at 12:47 am #326479 Whelen Troy Working now Leo, thank you so much! May 31, 2017 at 7:52 am #326628 LeoStaff Customer Support You’re welcome! 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