forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Charlie-brm on December 14, 2009, 04:35:57 pm

Title: iGames theme - want to increase top panel height
Post by: 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.

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 (http://www.luresandtours.com/coppermine/index.php)
Title: Re: iGames theme - want to increase top panel height
Post by: phill104 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.
Title: Re: iGames theme - want to increase top panel height
Post by: Charlie-brm on December 16, 2009, 04:41:52 am
Gallery updated to 1.4.25 now.
http://www.luresandtours.com/coppermine/index.php (http://www.luresandtours.com/coppermine/index.php)
Title: Re: iGames theme - want to increase top panel height
Post by: Joachim Müller 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
Title: Re: iGames theme - want to increase top panel height
Post by: Charlie-brm 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.

Title: Re: iGames theme - want to increase top panel height
Post by: Jeff Bailey 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.