• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Style for captions?

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Oct-07-2005, 06:12 PM
#1
Khaos is offline Khaos OP
Mr. Creative Pants
Khaos's Avatar
Style for captions?
See Here: http://galleries.creativekhaos.com/gallery/453508

Notice how I changed the "available in" line for the top photo to orange.
I did it the old way. I haven't done such a good job learning the new stuff yet.

So can we, and how if we can, eliminate using the depracated font command and use style to acheive this?

I tried:

<p style="color:orange">Avaialble in 8x12, 10x15, 12x18</p>

and it doesn't work.
__________________
[FONT=System][FONT=Times New Roman][/FONT][FONT=Times New Roman]
[/FONT]
[/FONT]
Old Oct-07-2005, 06:15 PM
#2
Andy is offline Andy
panasonikon
Andy's Avatar
use html in captions, according to jt's blog
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Oct-07-2005, 06:40 PM
#3
Khaos is offline Khaos OP
Mr. Creative Pants
Khaos's Avatar
Thanks. Subscribing to that blog now.
__________________
[FONT=System][FONT=Times New Roman][/FONT][FONT=Times New Roman]
[/FONT]
[/FONT]
Old Oct-07-2005, 11:10 PM
#4
Mike Lane is offline Mike Lane
I � Unicode
Mike Lane's Avatar
Yup, surround the caption with <html> caption text and xhtml tags </html>. All the preformatting will go away so you will have to format the whole tag yourself. So make your caption something like this:
<html>
<h1>The Little Church of Forest Lawn
Boardman, Ohio</h1>
<a href="http://galleries.creativekhaos.com/gallery/570868/6/38557476/Large">See it Framed</a> </br>
<span> Available in 8x12, 10x15, 12x18</span>
<p>This a small church located in a cemetary in Boardman, Ohio. I had driven by it many times and was always intriqued by its look. This was taken with the 10-22 wide angle and processed using the channel mixer to emphasize the shadows and texture of the stone bricks.</p>
</html>


The caption is automatically contained within a div like this:

<div id="caption12345678" class="caption"> ... </div>

So to format all the captions to be one way all you need to do is to use something like this in your css:

.caption h1 {font-size:14px; text-decoration:underline; color:#ffff00; font-weight:bold;}
.caption a {text-decoration underline; color:#ff0000; diplay:block;}
.caption a:hover {color:#ff8800;}
.capttion span {color:#00ffff; font-style:oblique;}
.caption p {color:#ffffff;}


These are just examples of course, style them how you see fit. If you want to change up the syle for a specific gallery just use something like this:
#caption12345678 h1 {font-size:20px; color:#0000ff;}
etc...

If you want the captions to be one way in the journal style and another way in the smugmug style do something like this:
#smugmug .caption h1 {font-size:10px;}
#journal .caption h1 {font-size:20px;}


Hope this helps!
__________________
Y'all don't want to hear me, you just want to dance.

http://photos.mikelanestudios.com/
Old Oct-08-2005, 07:23 AM
#5
Khaos is offline Khaos OP
Mr. Creative Pants
Khaos's Avatar
Awesome.

Thanks Mike.
__________________
[FONT=System][FONT=Times New Roman][/FONT][FONT=Times New Roman]
[/FONT]
[/FONT]
Tell The World!  

Thread Tools
Display Modes

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