coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: Swansea_Jack on November 30, 2012, 11:17:39 AM

Title: Advice on themes going wrong
Post by: Swansea_Jack on November 30, 2012, 11:17:39 AM
Hi guys,

Im looking for some advice if possible.  Ive been trying to create a theme to match my site but all im getting is a bare bones white page with no formatting at all.  I must add im a total novice and coppermine and php etc.  I've printed and followed the "creating a theme to match your overall site" with no luck.

my site is http://www.peter-burns.co.uk/pbphotography/index.html and Coppermine gallery is http://www.peter-burns.co.uk/pbphotography/coppermine/pbphotography/index.php?theme=pbphotography

the same thing happens if i try to use any theme.  Ive removed and reuploaded the whole coppermine folder, deleted and recreated the files from scratch several times. I can login to the site and upload small files ok if it helps.

Any advice would be fantastic, if you need any further info please let me know.

Thanks in advance
Title: Re: Advice on themes going wrong
Post by: Swansea_Jack on November 30, 2012, 11:29:35 AM
sorry the coppermine link should be

http://www.peter-burns.co.uk/pbphotography/coppermine/index.php?theme=pbphotography
Title: Re: Advice on themes going wrong
Post by: ΑndrĂ© on November 30, 2012, 11:53:34 AM
Please attach your whole theme as zip file. As far as I can see (at least) the path to the style.css files are wrong and even if I correct them, those files doesn't contain the required data.
Title: Re: Advice on themes going wrong
Post by: Swansea_Jack on November 30, 2012, 12:06:26 PM
Oops that would help i guess - apologies and thanks for the reply.

ive included the original editied files as well
Title: Re: Advice on themes going wrong
Post by: ΑndrĂ© on November 30, 2012, 01:05:30 PM
Obviously your style.css file is lacking a lot of important classes. Additionally, all references to your css files are wrong.

Find
<link rel="stylesheet" type="text/css" href="css/screen_styles_gallery.css" />
<link rel="stylesheet" type="text/css" href="css/screen_layout_large_gallery.css" />
<link rel="stylesheet" type="text/css" media="only screen and (min-width:5px;) and (max-width:500px;)" href="css/screen_layout_small_gallery.css" />
<link rel="stylesheet" type="text/css" media="only screen and (min-width:501px;) and (max-width:800px;)" href="css/screen_layout_medium_gallery.css" />
<link rel="stylesheet" type="text/css" href="../../css/coppermine.css"/>
<link rel="stylesheet" type="text/css" href="../themes/pbphotography/style.css"/>

and replace with
<link rel="stylesheet" type="text/css" href="themes/pbphotography/css/screen_styles_gallery.css" />
<link rel="stylesheet" type="text/css" href="themes/pbphotography/css/screen_layout_large_gallery.css" />
<link rel="stylesheet" type="text/css" media="only screen and (min-width:5px;) and (max-width:500px;)" href="themes/pbphotography/css/screen_layout_small_gallery.css" />
<link rel="stylesheet" type="text/css" media="only screen and (min-width:501px;) and (max-width:800px;)" href="themes/pbphotography/css/screen_layout_medium_gallery.css" />
<link rel="stylesheet" type="text/css" href="css/coppermine.css"/>
<link rel="stylesheet" type="text/css" href="themes/pbphotography/style.css"/>
Title: Re: Advice on themes going wrong
Post by: Swansea_Jack on November 30, 2012, 02:02:33 PM
thank you Ill give that a go when im home later

The whole site is a work in progress though - i was just trying to work out whether the themes will work with it but at least ive got a starting point now.

:)