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
-
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)
-
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.
-
Gallery updated to 1.4.25 now.
http://www.luresandtours.com/coppermine/index.php (http://www.luresandtours.com/coppermine/index.php)
-
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
-
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.
-
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.