Archived topic
Sidebar width per page
3 replies · Started by Rick on January 12, 2016
Viewing posts 1–4 of 4
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
Hi there,
This may be helpful: https://gist.github.com/generatepress/f19619456c7ccb072cb5
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
Let me know :)
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';
Awesome, glad you got it working :)
This archived topic is closed to new replies.
