WordPress.org

Ready to get started?Download WordPress

Forums

All In One Schema.org Rich Snippets
[resolved] How to change width in css (2 posts)

  1. ubruni
    Member
    Posted 3 months ago #

    The snippet box is set to 602 pixels width and I would like to change it to 520 to eliminate the overlap with my sidebar. I tried inserting the css change into both the plugin stylesheet and my site stylesheet, but it still looks the same. Any idea what I'm doing wrong?

    Here is the code I used:

    #snippet-box { width: 520px; }

    http://www.rockhoundmap.com/the-most-expensive-bathtub-in-the-world/

    http://wordpress.org/plugins/all-in-one-schemaorg-rich-snippets/

  2. Nitin Yawalkar
    Member
    Plugin Author

    Posted 3 months ago #

    Ubruni,

    You are on the right track. Just a small change. Put 'important' tag to the width you define. So the code will become -

    #snippet-box { width: 520px !important; }

    This will override the default style provided by plugin.

    Hope this will help you.

    Regards

Reply

You must log in to post.

About this Plugin

About this Topic