Centered Categories Centered Categories
 

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

Main Menu

Centered Categories

Started by hpluver88, June 21, 2006, 12:23:04 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

hpluver88

This is my first time using a Coppermine gallery and attempting to create a theme for it.

My goal is to have the gallery centered, and I achieved that--to a certain extent. Now all the main categories are centered as well ("Movies" "Merchandise" "Scans" etc).
This is how it looks like so far:
http://www.rupertgrintgallery.com/coppermine/

What I'd like to do is have the main categories aligned to the left such as this site:
http://www.robertpattinson.org/gallery/index.php

The following is the coding I have so far in the template.html file:
Quote<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
<link rel="stylesheet" type="text/css" href="themes/custom1/style.css" />
{META}
<script type="text/javascript" src="scripts.js" ></script>
<!-- $Id: template.html 2808 2006-02-05 22:35:48Z gaugau $ -->
</head>
<body>
{CUSTOM_HEADER}
<CENTER>
<table width="747px" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="border: 1px solid #CCD7E0; background-color: #FFFFFF;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100%" align="center"> <img

src="http://img363.imageshack.us/img363/5325/rggheader7jk.jpg"></center> <br/>


              {SYS_MENU}<br />{SUB_MENU}
            </td>
          </tr>
        </table>
        <img src="images/spacer.gif" width="1" height="15" alt="" />
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top">
              {ADMIN_MENU}

              {GALLERY}
              <div style="text-align:left;">
              <div>
           {LANGUAGE_SELECT_FLAGS}<br />
           {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
           </div>
           </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  {CUSTOM_FOOTER}{VANITY}
</body>
</html>

Any help would be greatly appreciated!


Sami

I thnik you solved it...did you?
please post your solution for others
‍I don't answer to PM with support question
Please post your issue to related board

Gizmo

Yea... I checked last night after a few beers ;D and couldn't see any problems. Everything looked as it should so I thought you had either fixed it or I was seeing things. Looks like my eyes were working after all.  :P
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

hpluver88

Really? That's strange because this is how it looks like for me:
http://img204.imageshack.us/img204/7317/coppermine9ly.jpg

I'm looking for all the categories/text with the dark green background to be aligned to the left, and they're still centered. I really doubt I solved the problem unless it's only showing up like that for me! lol

Paver

The categories look left-justified for me in both Firefox and IE.  They do *not* look like your screencap.

I thought this thread (with its solution) might be related to your issue until I saw no problem in IE:
http://forum.coppermine-gallery.net/index.php?topic=32513.0

In other respects, it's similar in that you have categories with no immediate albums looking funky to you in IE.  So you might try the solution from there.  (Note that the correct solution is near the end of the thread.)

Sami

#5
Now I see the issue
you should change your default theme to "custom1" instead of water_drop
guys check this out:
http://www.rupertgrintgallery.com/coppermine/index.php?theme=custom1
‍I don't answer to PM with support question
Please post your issue to related board

hpluver88

*slaps forehead*

Well, it's working now! Both Paver's and vmossavari's suggestions seemed to have worked--thanks a lot everyone!  :)

Sami

‍I don't answer to PM with support question
Please post your issue to related board