Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Template issue  (Read 4408 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: 47844
  • 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: 47844
  • 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: 47844
  • 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.016 seconds with 20 queries.