problems with converting wordpress 2011 theme to coppermine - Page 3 problems with converting wordpress 2011 theme to coppermine - Page 3
 

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

problems with converting wordpress 2011 theme to coppermine

Started by trevorpenfold, August 07, 2012, 01:18:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

trevorpenfold

To anyone else, besides Jeff, who is following this thread and think they can help with a couple of issues remaining...

So far....As you can see, Jeff has had a HUGE input in helping me with converting the wordpress twentyeleven theme to work with/'skin' the coppermine gallery.

However, as mentioned in my post of Nov 12th, there are a couple of thigs I just can't seem to fix, namely:
Quotewhat I've tried to do but totally failed with, is to decrease the filmstrip width from 816 to 616 or thereabouts, so that it apprears to sit within the 'content' container - at present it escapes. I've put it in under film and element.style, but it won't work - I don't think I've labeled them correctly, so would appreciate it if you could look at this?

The other problem that I just can't fix, is that my portrait thumbnails are always left aligned, whereas the landscape ones are centered. I've spent hours trying to work it out with Firebug, but it all says center aligned already, and it doesn't change no matter what I put in it!!

If anyone thinks they may know of a solution, or perhaps can see if I've written the css correctly or not, I'd be really grateful!

Thanks!

Jeff Bailey

I've already posted possible solutions to those problems in
http://forum.coppermine-gallery.net/index.php/topic,75280.msg364527.html#msg364527

Quote from: Jeff Bailey on November 12, 2012, 10:02:28 PM
The filmstrip doesn't escape for me. Find this in theme.php and try adjusting.
$CONFIG['max_film_strip_items'] = 4;

Quote from: Jeff Bailey on November 12, 2012, 10:02:28 PM
The thumbs in the flimstrip are half controled by the function theme_display_film_strip and by displayimage.js, remove float: left; from the inline styles.

The width of the filmstrip is controlled by how many thumbs are in it, AFAIK there isn't a way to change that with out breaking the filmstrip navigation.

I'm still willing to help, I just won't be making any builds of the theme.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

trevorpenfold

Hi Jeff,

sorry, I misunderstood. Thanks for the fixes and I'll work on them soon and only post here if I can't sort it.

just to mention re: the filmstrip:- I have tried reducing the number of t/nails right down to reduce the width of the background 'strip'. but it stays the same - and that's the bit of css that I can't fix. But I'll be re-looking at it in a week or so, and sometimes a fresh look does the trick!

Cheers.

Jeff Bailey

$CONFIG['max_film_strip_items'] = 4; is located near the top of the theme.php, it overrides your actual config settings.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford