WordPress.org

Ready to get started?Download WordPress

Forums

Schema Creator by Raven
[resolved] CSS (4 posts)

  1. saturnus
    Member
    Posted 1 year ago #

    I have exclude default CSS off.

    In the text editor, I have this
    <p style="font-size: x-large;">[schema type="review" user_review="3" min_review="1" max_review="5" ]</p>

    But it doesn't do anything. <span> changes nothing either.

    http://wordpress.org/extend/plugins/schema-creator/

  2. Andrew Norcross
    Member
    Plugin Author

    Posted 1 year ago #

    I believe I answered this question on GitHub as well, but you will need to add any CSS changes into your theme. The markup produced by the shortcode will override the <p> wrapper you've put around it.

  3. saturnus
    Member
    Posted 1 year ago #

    CSS changes for just the shortcode? How?

  4. Andrew Norcross
    Member
    Plugin Author

    Posted 1 year ago #

    the shortcode outputs it's own markup that you can target in your CSS. For example, the entire output is wrapped in a div with the ID of schema_block. So any CSS you want to apply, just look at the output on your site (using Firebug is the preferred method) and then add the CSS accordingly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.