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: Template issue  (Read 5481 times)

0 Members and 1 Guest are viewing this topic.

ctcentralinfo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Template issue
« on: November 16, 2005, 02:42:29 pm »

I am wondering if I made a mistake somewhere. Although the template isn't great I managed to intergreate it to fit the them of my site. But with the upgrade I seem to have forgot how I made it fit properly and align with the site banner For example:


http://www.cooltechcentral.com/
http://www.cooltechcentral.com/forum/

In the gallery section it's just a little off:

http://www.cooltechcentral.com/Multimedia/

I used winmerge with the theme.html file from the original, but it still doesn't come out right.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Template issue
« Reply #1 on: November 16, 2005, 05:39:21 pm »

what's the actual question?
Logged

ctcentralinfo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: Template issue
« Reply #2 on: November 16, 2005, 06:34:07 pm »

How do I increase the width of the template.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Template issue
« Reply #3 on: November 16, 2005, 06:51:10 pm »

edit themes/yourtheme/template.html (in your case: the file http://www.cooltechcentral.com/Multimedia/themes/classic/template.html), find
Code: [Select]
<body>
   <table style="padding-top:8px" align="center" border="0" cellspacing="0" cellpadding="0">
and add a width attribute to your table definition. Do some positioning if you like as well. This is the wrapper table that you added in the first place, not related to coppermine.
Logged

ctcentralinfo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: Template issue
« Reply #4 on: November 16, 2005, 06:53:25 pm »

What do you mean by add a width attribute? I kind of had help with the template the first time.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Template issue
« Reply #5 on: November 16, 2005, 06:58:11 pm »

Width attribute as in
Quote
<table width="100%">
or
Quote
<table width="800">
, see http://www.w3schools.com/tags/tag_table.asp - basic html...
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 21 queries.