Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2012
    Posts
    12
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Styling Captions (How to Target)

    I need to style the photo captions (which appear directly under some photos) on my articles as seen in this post: http://dailytekk.com/2012/12/11/sifteo-cubes-review/

    I tried targeting this, but I can't get it to work... what do I need to target, exactly to style with CSS?

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,692
    Thanks
    22
    Thanked 1,830 Times in 1,814 Posts
    Hello dailytekk,
    The caption I'm looking at, "Sifteo Cubes come with everything..." already has a class assigned to it and some CSS styling it.

    See line #541 in your style.css:
    Code:
    .entry .wp-caption-text {
        font: italic 0.8em/1.5em sans-serif;
        margin: 0;
        padding: 4px 0 0;
        text-align: center;
        text-shadow: 1px 1px 0 #FFFFFF;
    }
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    dailytekk (12-11-2012)


  •  

    Posting Permissions

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