Image title,sats and description all on same line with no space. Image title,sats and description all on same line with no space.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Image title,sats and description all on same line with no space.

Started by odinp, April 23, 2007, 01:32:44 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

odinp

Hello everyone.
I have been working on customising my own theme for my gallery,
I have managed to do alright (especially with older versions)
except for one thing,
The title is on the same line as the stats along with the image description with no spaces between them.
it looks something like this.

"The Klakka.11 viewsCommission peice December 06.
Graphite on A3 smooth Bristol."

"Ayrton.27 viewscommission peice July 06."


this only happens on the album thumbnails page. here - http://art.odinp.com/Coppermine/thumbnails.php?album=5

I think I may have figure out the problem but I am not sure how to fix it, when I veiw the source of the page online in notepad I notice this.
"        <td valign="top" class="thumbnails" width ="25%" align="center">
                <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td align="center">
                                        <a href="displayimage.php?album=2&amp;pos=6"><img src="albums/userpics/10001/thumb_File0088.jpg" class="image" width="73" height="100" border="0" alt="File0088.jpg" title="Filename=File0088.jpg
Filesize=91KB
Dimensions=816x1123
Date added=10.Apr 2006"/><br /></a>
                                        <span class="thumb_title">A Juvenile Prouct Of The Working Class ~ 2006</span><span class="thumb_title">44 views</span><span class="thumb_caption">SOLD<br />
A3 smooth bristol board.<br />
100 % graphite..</span>
                                       
                                </td>
                        </tr>
                </table>
        </td>


Shouldnt there be <br> tags between those <span> tags? and if it is this how would i fix it isn't the page generated dynamicaly?
I am at my wits end with this issue, it does not look good, but I really like my theme as it suits my site and what I do.

thanks in advance for any assistance you can offer.

Nibbler

You have removed most of Coppermine's css rules from the theme so it is no suprise it looks wrong.

Add this back in to style.css and adjust it to suit.


.thumb_filename {
        font-size: 80%;
        display: block;
}

.thumb_title {
        font-weight : bold;
        font-size: 80%;
        padding: 2px;
        display : block;
}

.thumb_caption {
        font-size: 80%;
        padding: 1px;
        display : block;
}

.thumb_caption a {
        text-decoration: underline;
        color: #000000;
}

.thumb_num_comments {
        font-weight: normal;
        font-size: 80%;
        padding: 2px;
        font-style : italic;
        display : block;
}


Also you should review your spelling; bad spelling makes a site look unprofessional.

odinp

Thanks for the fast reply! :)
I will try that right away, I didnt think it was a css thing.
yeah I know my spelling is shocking, I was always more arty  ;)
it's weird that when I look at the code on my machine for style.css the peice that you sent is there.?
I will let you know how I went :)
thanks again.