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: iGames theme - want to increase top panel height  (Read 4624 times)

0 Members and 1 Guest are viewing this topic.

Charlie-brm

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
iGames theme - want to increase top panel height
« on: December 14, 2009, 04:35:57 pm »

I can't follow or find the code that sets the height where the top_panel images appear. Just increasing the pixel dimensions of the jpgs doesn't do it - they get clipped.

If someone can show me where in this theme it limits the height I can probably figure out a lot of other details without asking very often. Thanks.
http://www.luresandtours.com/coppermine/index.php
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: iGames theme - want to increase top panel height
« Reply #1 on: December 14, 2009, 05:17:09 pm »

You really need to upgrade first.

<!--Coppermine Photo Gallery 1.4.10 (stable)-->

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_why

Once you have upgraded to 1.4.25 we will be glad to help.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Charlie-brm

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: iGames theme - want to increase top panel height
« Reply #2 on: December 16, 2009, 04:41:52 am »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: iGames theme - want to increase top panel height
« Reply #3 on: December 16, 2009, 08:55:07 am »

I can't follow or find the code that sets the height where the top_panel images appear. Just increasing the pixel dimensions of the jpgs doesn't do it - they get clipped.
What's the top_panel for you? Please describe your actual question in more detail. You might want to make a screenshot and highlight on it what you want to do. Attach that screenshot to your posting.
Do you just want o increase the height of http://www.luresandtours.com/coppermine/themes/igames/images/top_panel_r1_c2.jpg
Logged

Charlie-brm

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: iGames theme - want to increase top panel height
« Reply #4 on: December 16, 2009, 08:53:53 pm »

I would like to extend the height of the area above the navigation buttons so I can put in my own html for announcements and ads. See the attached screen mockups.
All I can make of that section for now is that it contains images called top_panel_r1_c1.jpg and top_panel_r1_c2.jpg. I can't find a "height" attribute for that panel in the template or css. If I replace the original with my own taller image, the image gets clipped back to the original's height. In this case 70px.
e.g. the Shimano logo I made is 100 pixels high and has another row of text that doesn't appear.
iGames is a theme that comes with Coppermine so the template should be available to anyone to examine.

Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: iGames theme - want to increase top panel height
« Reply #5 on: December 16, 2009, 09:13:38 pm »

you can add the height attribute to
Code: [Select]
.top_panel {
                background-image: url(images/top_panel_r1_c4.jpg);
                background-repeat : repeat-x;
                border-collapse:collapse;
                margin: 0;
                padding: 0;
}
in style.css
but you will have to add about 50px to compensate for the SELECT_LISTS div.
Hope that's what you were looking for.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.