Go Back   Free website templates > Web Template Help > HTML - XHTML - CSS
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Join now to download all the free website templates or post on the forum. If you have never been on a forum before read the FAQ. It's quick, easy and free to join!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2009, 06:33 PM
Junior Member
 
Join Date: Feb 2009
Posts: 5
chasm is on a distinguished road
Default Captions under thumbnails in the Photography template

I've modified the template a bit and streamlined it, but I can't figure out how to make captions appear under the photo gallery thumbnails. Any help would be appreciated.

I'm using the Photo Template

Tks!
Reply With Quote
  #2 (permalink)  
Old 02-13-2009, 06:36 PM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,360
ishkey will become famous soon enough
Default

If you made mods to a template and do not post the code, then we really can not help you. Xray vision has ben disabled on this forum.
__________________
RIF= Reading Is Fun - Understanding Funner
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants
Reply With Quote
  #3 (permalink)  
Old 02-13-2009, 08:01 PM
Junior Member
 
Join Date: Feb 2009
Posts: 5
chasm is on a distinguished road
Default

Duly noted re: posting code

The thumbnails are coded as an unordered list - I tried adding a second UL beneath the thumbnail UL but I couldn't wrangle the spacing so that everything lined up properly.

here's the related bits of the css:

body {
padding: 80px 0px 0px;
background: url('images/background_top.gif') #c4b8a1 repeat-x;
color: #695d47;
font-family: verdana, arial, sans-serif;
font-size: 12px;
text-align: center;
}

a {
color: #695d47;
background-color: inherit;
text-decoration: underline;
}


ul {
list-style-type: none;
}

li {
list-style-type: none;
}

p {
margin: 0px 0px 15px;
text-align: justify;
line-height: 15px;
}

.clearthis {
margin : 0px;
height : 1px;
clear : both;
float : none;
font-size : 1px;
line-height : 0px;
overflow : hidden;
visibility: hidden;
}


/* My Portfolio */

#portfolio .content_header h1 {
height: 28px;
background: url('images/portfolio_header.jpg') no-repeat;
}

#portfolio {
padding-bottom: 12px;
background: url('images/gallery_title.gif') no-repeat 29px 80px;
}

#gallery {
padding: 40px 0px 25px 59px;
}

#gallery ul {
width: 700px;
}

#gallery li {
margin-right: 30px;
margin-bottom: 25px;
padding: 4px 4px 2px;
background-color: #c4b8a1;
color: inherit;
float: left;
}

=====

index.html (fiddly bits removed)
<div id="portfolio">

<div class=
"content_header">
<h1><span>My Portfolio</span></h1>
</div>

<!-- Start of Gallery -->

<div id=
"gallery">

<ul>
<li>
<ahref="http://www.freewebsitetemplates.com/"><imgsrc="images/gallery_thumbnail_1.gif"width="84"height="76"alt="Thumbnail 1 Caption" /></a></li>
<li>
<ahref="http://www.freewebsitetemplates.com/"><imgsrc="images/gallery_thumbnail_2.gif"width="93"height="76"alt="Thumbnail 2 Caption" /></a></li>
<li>
<ahref="http://www.freewebsitetemplates.com/"><imgsrc="images/gallery_thumbnail_3.gif"width="59"height="77"alt="Thumbnail 3 Caption" /></a></li>
<li>
<ahref="http://www.freewebsitetemplates.com/"><imgsrc="images/gallery_thumbnail_4.gif"width="137"height="77"alt="Thumbnail 4 Caption" /></a></li>
<li>
<ahref="http://www.freewebsitetemplates.com/"><imgsrc="images/gallery_thumbnail_5.gif"width="119"height="78"alt="Thumbnail 5 Caption" /></a></li>
</ul>

</div>

<!-- End of Gallery -->
Reply With Quote
  #4 (permalink)  
Old 02-13-2009, 08:20 PM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,360
ishkey will become famous soon enough
Default

http://www.freewebsitetemplates.com/preview/template28/ this template?
__________________
RIF= Reading Is Fun - Understanding Funner
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants
Reply With Quote
  #5 (permalink)  
Old 02-13-2009, 08:38 PM
Junior Member
 
Join Date: Feb 2009
Posts: 5
chasm is on a distinguished road
Default

Yep. That template.
Reply With Quote
  #6 (permalink)  
Old 02-13-2009, 09:17 PM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,360
ishkey will become famous soon enough
Default

quick fix - put back css file to orig.
try this code in html file - though it might give coding errors if someone is picky about proper code, but sill it works.
Code:
<!-- Start of Gallery -->
 
<div id="gallery">
<dl>
<ul> 
<li><a href="#"><img src="images/gallery_thumbnail_1.gif" width="84" height="76" alt="Thumbnail 1 Caption" /></a></li><dd>Hot Lips</dd>
<li><a href="#"><img src="images/gallery_thumbnail_2.gif" width="93" height="76" alt="Thumbnail 2 Caption" /></a></li><dd>Wasp Love</dd>
<li><a href="#"><img src="images/gallery_thumbnail_3.gif" width="59" height="77" alt="Thumbnail 3 Caption" /></a></li><dd>Mutt</dd>
<li><a href="#"><img src="images/gallery_thumbnail_4.gif" width="137" height="77" alt="Thumbnail 4 Caption" /></a></li><dd>Flower Power</dd>
<li><a href="#"><img src="images/gallery_thumbnail_5.gif" width="119" height="78" alt="Thumbnail 5 Caption" /></a></li><dd>Check It Out</dd>
</ul>
</dl>
</div>
 
<!-- End of Gallery -->
Attached Images
 
__________________
RIF= Reading Is Fun - Understanding Funner
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants
Reply With Quote
  #7 (permalink)  
Old 02-14-2009, 05:47 PM
Junior Member
 
Join Date: Feb 2009
Posts: 5
chasm is on a distinguished road
Default

That works! Now to figure out *why* it works ;-)

To make changes to the appearance/size of the thumbnail labels I'm assuming you could insert a
dd {} in the css file and code from there, like:

dd {
text-decoration: underline;
text-align: center;
}

I'll try that when I'm home a little later.

Thanks again for your help
Reply With Quote
  #8 (permalink)  
Old 02-14-2009, 05:52 PM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,360
ishkey will become famous soon enough
Default

Either edit the css file or add to the html file
Code:
<!-- Start of Gallery -->
 
<div id="gallery">
<div style="text-align: center"><dl>
<ul> 
<li><a href="#"><img src="images/gallery_thumbnail_1.gif" width="84" height="76" alt="Thumbnail 1 Caption" /></a></li><dd>Hot Lips</dd>
<li><a href="#"><img src="images/gallery_thumbnail_2.gif" width="93" height="76" alt="Thumbnail 2 Caption" /></a></li><dd>Wasp Love</dd>
<li><a href="#"><img src="images/gallery_thumbnail_3.gif" width="59" height="77" alt="Thumbnail 3 Caption" /></a></li><dd>Mutt</dd>
<li><a href="#"><img src="images/gallery_thumbnail_4.gif" width="137" height="77" alt="Thumbnail 4 Caption" /></a></li><dd>Flower Power</dd>
<li><a href="#"><img src="images/gallery_thumbnail_5.gif" width="119" height="78" alt="Thumbnail 5 Caption" /></a></li><dd>Check It Out</dd>
</ul>
</dl></div>
</div>
 
<!-- End of Gallery -->
__________________
RIF= Reading Is Fun - Understanding Funner
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants
Reply With Quote
  #9 (permalink)  
Old 02-14-2009, 06:01 PM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,360
ishkey will become famous soon enough
Default

Did it work? it looks like this! where is your web link so we can see?
Attached Images
 
__________________
RIF= Reading Is Fun - Understanding Funner
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants
Reply With Quote
  #10 (permalink)  
Old 02-14-2009, 10:55 PM
Junior Member
 
Join Date: Feb 2009
Posts: 5
chasm is on a distinguished road
Default Almost there

I'll post up the template in just a bit.

But one last problem

The template mod works fine in IE, but falls apart in Firefox

Name:  mess.JPG
Views: 343
Size:  127.4 KB

Do I not worry about it and post a big disclaimer on my page that warns users the page works in IE only? :-)
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:56 AM.



mouseover mouseover mouseover