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: How to put the banner logo in the center?  (Read 4657 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: 15764
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: 15764
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.018 seconds with 20 queries.