Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Icon alignment  (Read 3083 times)

0 Members and 1 Guest are viewing this topic.

Anhinga

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
    • Snakebird.net
Icon alignment
« on: July 16, 2005, 04:30:18 am »

I've almost finished editing the theme of my Coppermine gallery ( www.snakebird.net/gallery ), but I have one more question about it:  when I'm using the SMF theme, how do I control the alignment of the on/off GIF files that show whether or not a category has something new in it?

Right now they're horizontally aligned to the right, so they appear just to the left of the text that describes each category.  But I'd like to make them horizontally centered, so that they appear halfway between this text and the left-hand border of the frame.  Does anyone know how to change that?
« Last Edit: July 16, 2005, 11:32:08 am by GauGau »
Logged

Nibbler

  • Guest
Re: Icon alignment
« Reply #1 on: July 16, 2005, 04:56:39 am »

Find

Code: [Select]
<!-- BEGIN catrow -->
        <tr>
                <td class="tableb"><table border=0 ><tr><td><IMG title="No New Posts" alt="No New Posts" src="themes/smf/images/off.gif" border=0>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
                <td class="tableb" align="center">{ALB_COUNT}</td>
                <td class="tableb" align="center">{PIC_COUNT}</td>
        </tr>

Change to

Code: [Select]
<!-- BEGIN catrow -->
        <tr>
                <td class="tableb" style="padding-left:5px;"><table border="0" ><tr><td><img style="padding-right:5px;" title="No New Posts" alt="No New Posts" src="themes/smf/images/off.gif" border="0">{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
                <td class="tableb" align="center">{ALB_COUNT}</td>
                <td class="tableb" align="center">{PIC_COUNT}</td>
        </tr>

Also the theme's template.html seems to be missing the <head>, you may like to add that in.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.