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: Centered Categories  (Read 3861 times)

0 Members and 1 Guest are viewing this topic.

hpluver88

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Centered Categories
« on: June 21, 2006, 12:23:04 am »

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!

« Last Edit: June 21, 2006, 04:54:57 pm by Paver »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Centered Categories
« Reply #1 on: June 21, 2006, 10:47:29 am »

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

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Centered Categories
« Reply #2 on: June 21, 2006, 12:22:03 pm »

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
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Centered Categories
« Reply #3 on: June 21, 2006, 04:05:40 pm »

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
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Centered Categories
« Reply #4 on: June 21, 2006, 04:14:32 pm »

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.)
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Centered Categories
« Reply #5 on: June 21, 2006, 04:48:11 pm »

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
« Last Edit: June 21, 2006, 04:53:42 pm by bmossavari »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

hpluver88

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Centered Categories
« Reply #6 on: June 21, 2006, 04:52:11 pm »

*slaps forehead*

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

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Centered Categories
« Reply #7 on: June 21, 2006, 04:52:25 pm »

now you solve it
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 20 queries.