coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: pixel_killer on October 25, 2005, 11:01:56 AM

Title: left aligment -main table??
Post by: pixel_killer on October 25, 2005, 11:01:56 AM
Ive made a skin / sort of and would like to get coppermines tables to align left instead of centre- im not altogether famimilar with php but my html is good. I found the stuff i need is in template.php not in the .html or the .css but my experiments with changing this have been messy - some tables align left others far right(including the main veiw of image)- using the classic as a base for the template. but i cant figure out which bits of the .php file control which elements! ???
Title: Re: left aligment -main table??
Post by: Joachim Müller on October 25, 2005, 06:58:10 PM
post a link to your site and attach a screenshot with a sketch that shows what exactly you want aligned in what way; there's no saying what you need to edit if you're not more specific.

Title: Re: left aligment -main table??
Post by: pixel_killer on October 26, 2005, 03:12:00 AM
ok - the site is at
http://www.jewelsoftheharem.com.au/copper/cpg135
heres a screen shot-(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.jewelsoftheharem.com.au%2Fimages%2Fjewelsgallery.jpg&hash=eb3ed0c86540e3fe3c202d08af9a699cee6e19e8)
Title: Re: left aligment -main table??
Post by: Joachim Müller on October 26, 2005, 06:18:42 AM
Title: Re: left aligment -main table??
Post by: pixel_killer on October 26, 2005, 08:37:25 AM
thankyou - left alignment acheived -  :D
i dont want to change the sige of the thumbnail veiwer just make its background  black
Title: Re: left aligment -main table??
Post by: Joachim Müller on October 26, 2005, 08:50:41 AM
the little thumbnails at the bottom are called "filmstrip" in coppermine terms. Edit themes/yourtheme/theme.php, find// HTML template for filmstrip display
$template_film_strip = <<<EOT

        <tr>
         <td valign="top" background='themes/classic/images/tile.gif' align="center" height='30'>&nbsp;</td>
        </tr>
        <tr>
        <td valign="bottom" class="thumbnails" align="center">
          {THUMB_STRIP}
        </td>
        </tr>
        <tr>
         <td valign="top" background='themes/classic/images/tile.gif' align="center" height='30'>&nbsp;</td>
        </tr>
<!-- BEGIN thumb_cell -->
                                        <a href="{LINK_TGT}">{THUMB}</a>&nbsp;
                                        {CAPTION}
                                        {ADMIN_MENU}
<!-- END thumb_cell -->
<!-- BEGIN empty_cell -->
                <td valign="top" align="center" >1&nbsp;</td>
<!-- END empty_cell -->

EOT;
and edit accordingly by adding the attributestyle="background-color:black"to the <td> tags.