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: How to put the banner logo in the center?  (Read 4005 times)

0 Members and 1 Guest are viewing this topic.

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
How to put the banner logo in the center?
« on: April 03, 2011, 12:44:05 am »

Hi, I am using curve theme and my banner logo is positioned at the top-left conner. I would like to make this logo locate at the top-center/middle of the screen, how would I do this? I use html <center></center> tag in template.html but it does not work, please help.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: How to put the banner logo in the center?
« Reply #1 on: April 05, 2011, 02:31:12 pm »

Have a close look at template.html. The logo is inside a div element. If you try to center your image it will only be centered inside that element (and thus it won't change its location).
Logged

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: How to put the banner logo in the center?
« Reply #2 on: April 05, 2011, 03:04:32 pm »

I got it! Thank you.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: How to put the banner logo in the center?
« Reply #3 on: April 05, 2011, 03:07:07 pm »

Marking accordingly.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.