SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2008
    0 Post(s)
    0 Thread(s)

    How to shade a passage in a Wordpress post?

    How do you shade a passgae such as a paragraph in wordpress. I see this sometimes in review sites to indicate they have taken a passage directly from the product page. There is usally a line going by the left side with content background in a grey and slightly in (so not inline with rest of the content) rathen than white background as with rest of the content.

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    West Springfield, Massachusetts
    198 Post(s)
    3 Thread(s)
    The best way to know for certain would be for you to look at a page's view-source, determine what tags/ids/classes the text of interest is using, and then look at the corresponding CSS rules.

    But I'm guessing it's the <blockquote> tag. Try it in a test post (preview not publish) and see if it's anything close to what you're looking for.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts