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. Wpg2 is ok for validation : Quote:
WPG2 Output Page Type? Wordpress Everything was fine with V2 but now, wpg2.css is called in every pages How could I corect that ? Thks by advance |
|
Posts: 34
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.
Posts: 492
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
Posts: 34
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 ...
Posts: 492
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
Posts: 34
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 ...