iGames theme - want to increase top panel height iGames theme - want to increase top panel height
 

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

Main Menu

iGames theme - want to increase top panel height

Started by Charlie-brm, December 14, 2009, 04:35:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Charlie-brm

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

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.


Joachim Müller

Quote from: Charlie-brm 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.
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

Charlie-brm

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.


Jeff Bailey

you can add the height attribute to

.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.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford