• I’m using the WP theme Modularity Lite with a bunch of my own modified page templates and such. Overall I’m happy with the look.

    But… on a number of pages I’d like to customize the layout & appearance. I use WP’s HTML editor (as the WYSIWYG editor is buggy), but have had all sorts of interference from my theme’s style.css. Is there a way, maybe some kind of <> tag, that will make the page ignore style.css and just go with the HTML in the page?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try adding a custom field, and then a filter so that when you add the value 1 to your custom field, the theme file is not included.

    In addition to the above reply, if you used the custom field to explicitly specify a style name of your choice, your template could look for these values as part of the custom field check, and apply the stylesheet, all in one. So, your value might be “layout1” and that refers to a replacement stylesheet. No value, no stylesheet changes.

    Thread Starter aster

    (@aster)

    Thanks for the responses… I’ll give these a try.

    Also remember, you can use the conditional tags with page id check to implement this. But that can get messy if you have many pages and also will add a db query.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to clear theme css formatting within a post/page’ is closed to new replies.