Search for: Log In Free Support [Resolved] Sidebar width per page Home › Forums › Support › Sidebar width per page This topic has 3 replies, 2 voices, and was last updated 5 years, 1 month ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 12, 2016 at 11:15 am #165363 Rick Hi Tom, Is it possible to set different sidebar width per page? I would like to have the blog 25 and all other 35. Thanks January 12, 2016 at 11:52 am #165366 TomLead Developer Lead Developer Hi there, This may be helpful: https://gist.github.com/generatepress/f19619456c7ccb072cb5 Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/ Let me know π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development January 12, 2016 at 12:14 pm #165376 Rick Great Tom. Did it the other way around because all my posts on my blog where 35: // If we're on frontpage if ( is_front_page() ) { return '35'; } // If the above isn't true, return your default value return '25'; January 12, 2016 at 2:31 pm #165414 TomLead Developer Lead Developer Awesome, glad you got it working π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In