Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-11-2012, 06:12 PM   PM User | #1
dailytekk
New to the CF scene

 
Join Date: Apr 2012
Posts: 8
Thanks: 4
Thanked 0 Times in 0 Posts
dailytekk is an unknown quantity at this point
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?
dailytekk is offline   Reply With Quote
Old 12-11-2012, 06:21 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
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
Excavator is offline   Reply With Quote
Users who have thanked Excavator for this post:
dailytekk (12-11-2012)
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:42 AM.


Advertisement
Log in to turn off these ads.