Visual Editor Content Styling
-
I am adding a snippet in the section “Visual Editor Content Styling” in the CSS section and my understanding is that this snippet should appear in the Visual editing interface in place of the “Button Content” (single block)
I have tried a number of CSS types, even as simple as:
<div id="shnad2" style="text-align: center; width: 100%; background-color: yellow;">ad1</div>I have tried using SPANs and even coping in the code displayed by the default MORE button:
<img class="wp-more-tag mce-wp-more" title="Read more..." src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="" data-wp-more="more" data-wp-more-text="" data-mce-resize="false" data-mce-placeholder="1" data-mce-src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7">The result is that nothing appears in the Visual editor view (or when viewing the F12 view elements view in the chrome (all I see is the Button Content)
I have tried using different things in the Button Content section as well:
<!–shnad1–>
and
[display-posts category=”category name here” posts_per_page=”1″/]Still nothing has worked.
Please assist.
The topic ‘Visual Editor Content Styling’ is closed to new replies.