coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Jobse on December 01, 2006, 04:05:02 PM

Title: Header width displayed larger ?
Post by: Jobse on December 01, 2006, 04:05:02 PM
Hi All,

Just started working on a site, and added a CPG to it. I'm having difficulty with the header width, it appears to be larger than on my normal html pages. This is also the case with the picture i've added in the heading.

Does Coppermine do anything with them? And how can I make them display the same? I couldn't find anything related to this in the FAQ's and forums.

See jobse.info/photos (http://jobse.info/photos) for the Coppermine site, and jobse.info for the normal site.
I know, in IE it looks like crap (i don't care too much about that) but better in FF; haven't found out why yet.

Thanks for your help.

Title: Re: Header width displayed larger ?
Post by: Gizmo on December 01, 2006, 11:01:54 PM
You should go back to the Flower layout (http://www.oswd.org/design/preview/id/2864 (http://www.oswd.org/design/preview/id/2864)) and review the index.html file again. You've left out several important classes in your template.html file such as <div id="container"> and <div id="body">. You can't just pick and chose the parts of a theme and expect it to behave like the original.
Title: Re: Header width displayed larger ?
Post by: Joachim Müller on December 02, 2006, 07:02:15 AM
[ot]
You have cpg1.4.8. Most recent stable release currently is cpg1.4.10. It's mandatory to upgrade!
[/ot]
Title: Re: Header width displayed larger ?
Post by: Jobse on December 02, 2006, 12:43:49 PM
Thanks guys. I will update, suppose one should do that every couple of months.

When i was having another look at the div's i found the container, which doesn't seem to change a lot. But in the original i did not find the #body {}.  It does have the body {} in the css, but i think the other one is missing. Or does the command div id="body" when included in the index.html refer to body {} without having to make a #body {} ?
Title: Re: Header width displayed larger ?
Post by: Gizmo on December 02, 2006, 02:11:53 PM
QuoteWhen i was having another look at the div's i found the container, which doesn't seem to change a lot.
One little change in a css style or html tag makes a HUGE difference. All I can tell you is to review your layout again against the Flowered theme and make sure that you are consistant between the two. I see other differences besides the two I already pointed out.