Theme problem wpg2.css always include

donut

Joined: 2007-05-24
Posts: 34
Posted: Thu, 2007-10-04 14:19

Hello,

I'm testing last version of WPG2.
My theme is LetoPrime, it use a diferent wpg2header.php and wpg2.css.

Wpg2 is ok for validation :

Quote:
WPG2 Output Page Type? Wordpress
WPG2 Gallery2 Rewrites Status? Off
Embedded Page is using what Header type? WPG2HEADER
Embedded Page is using what Footer type? Simple
Using Which WPG2 Stylesheet? External

Everything was fine with V2 but now, wpg2.css is called in every pages

How could I corect that ?

Thks by advance

 
donut

Joined: 2007-05-24
Posts: 34
Posted: Thu, 2007-10-04 18:23

OK, i deleted line 491 in wpg2functions.inc :

echo '<link rel="stylesheet" type="text/css" media="screen" href="'.$wpg2_csspath.'wpg2.css"/>'."\n";

I don't know if it was the good issue but that avoid to call wpg2.css in every page of the website.

Cheers.

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Thu, 2007-10-04 18:53

donut,

Why did you not want it on the pages?

It won't hurt anything not to have it. If you use the WPG2 album tree widget, you'll need that css put back in.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
donut

Joined: 2007-05-24
Posts: 34
Posted: Thu, 2007-10-04 19:38

it's because it's not the same css in the others pages of the site (style.css) and gallery (wpg2.css), it doesn't use same header image because of the image top of the sidebar that is in all the pages but not in gallery.

I would like to add treewidget (even if I don't know how to do LOL) but I really need two different stylesheet in my case.

In fact all the background of the sidebar disappear when I leave this line.

I'm OK to test new things I you have some ideas ...

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Thu, 2007-10-04 19:59

To add the album tree, all you'll have to do is get the dtree section from wpg2.css and insert it in your css.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
donut

Joined: 2007-05-24
Posts: 34
Posted: Fri, 2007-10-05 11:44

it's because it's not the same css in the others pages of the site (style.css) and gallery (wpg2.css), it doesn't use same header image because of the image top of the sidebar that is in all the pages but not in gallery.

I would like to add treewidget (even if I don't know how to do LOL) but I really need two different stylesheet in my case.

In fact all the background of the sidebar disappear when I keep this line.

I'm OK to test new things I you have some ideas ...