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: Removing empty space between Gallery & Coppermine credits  (Read 2535 times)

0 Members and 1 Guest are viewing this topic.

Hercules24

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 71
    • High Resolution Party Pictures
Removing empty space between Gallery & Coppermine credits
« on: April 22, 2007, 11:51:56 pm »

I like to remove the space between the album list and the coppermine credits so more content fits into a page without having to scroll.
I have a picture to show what I mean.

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi11.tinypic.com%2F4ghz5sg.gif&hash=0b8cc6e57c8a05bce2f1282cfd615bb0f55be01c)

I tried to add 'display inline' to the footer in CSS but that resulted in not only removing the space, but always displaying the Coppermine credits fully to the left.
Text align center had no effect on that either.
Setting the line space to 50% helped a bit, but still left me with a line of useless space.
Is there a way to solve this matter?
« Last Edit: April 23, 2007, 01:01:50 am by Nibbler »
Logged

Nibbler

  • Guest
Re: Removing empty space between Gallery & Coppermine credits
« Reply #1 on: April 23, 2007, 12:43:12 am »

Simplest way is to add this

Code: [Select]
.footer {
    margin-top: -20px;
}

If you want a better way then you need to nullify the top padding on the footer and the spacer img and <br /> at the end of the album list template.
Logged

Hercules24

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 71
    • High Resolution Party Pictures
Re: Removing empty space between Gallery & Coppermine credits
« Reply #2 on: April 23, 2007, 12:57:47 am »

Thanks Nibbler.
I settled for this CSS code:
Code: [Select]
.footer {
        font-size: 10px;
        margin-top: -13px;
        line-height: 85%;
}

Result can be viewed here: http://www.kuikens.com/pictures/

Problem solved
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.