How to Apply CSS Style Override to Text Within a Post
Pretty sure this is a no brainer but here goes:
what is the most efficient (or laziest person´s) way to apply CSS style overrides to elements WITHIN any given post (not all posts).
For example: a wordpress theme has styles for unordered lists
- but within post “X”, I want to apply a CSS style override to one particular list called “special”. I might want to repeat the same style later.
Adding inline css within the post editor seems to work but is there an alternative or “smarter” way?
<ul style="list-style-none; display:inline; bla bla bla;><li>Some stuff here</li></ul>
Does a custom stylesheet override the theme´s default style? Will it style classes defined within a post?
- The topic ‘How to Apply CSS Style Override to Text Within a Post’ is closed to new replies.