WordPress.org

Forums

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

  1. ubruni
    Member
    Posted 1 year 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
    Blocked
    Plugin Author

    Posted 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All In One Schema.org Rich Snippets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic