Home › Forums › Support › How to remove the ‘container’ from the class This topic has 3 replies, 2 voices, and was last updated 5 years, 4 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts November 20, 2020 at 9:43 pm #1539646 YSK Hi there, How to remove the ‘container’ from every #page class. Because I want to use “tailwindcss”. ‘container’ conflicts. BEFORE <div id="page" class="site grid-container container hfeed"> The results I want are as follows. <div id="page" class="site grid-container hfeed"> Is there a problem with removing the ‘container’? Thank you! November 21, 2020 at 10:56 am #1540335 TomLead Developer Lead Developer Hi there, I would advise against it, as some of our features may use that selector. However, it is possible: add_filter( 'generate_page_class', function( $classes ) { $classes = array_diff( $classes, array( 'container' ) ); return $classes; } ); It may be better to just resolve the conflict. What’s the issue, exactly? November 22, 2020 at 4:06 pm #1541561 YSK Hi there, Thank you for your suggestions for solutions. and I understand that there may be problems. Tailwind CSS ‘container’ https://tailwindcss.com/docs/container I’d like to think of a way to make them coexist somehow. Thank you! November 23, 2020 at 9:24 am #1542708 TomLead Developer Lead Developer So is the main issue you’re seeing width-related? 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