Persistent CSS Problem
medmac
Joined: 2006-02-09
Posts: 3 |
Posted: Tue, 2007-10-23 01:24 | |||||
Hi guys, I was using wpg2 for a year without a single problem. After update all system (WP, Gallery2 and WPG2) something gone wrong. The plugin is calling wpg2.css at the home page of my site. Here is what I get at main page html when wpg2 3.0.2 is activated and validated: <style type="text/css">.g2_column {width: 738px;margin: 0px 1px 0px 12px;}</style> If I use Firebug to remove the last line, the page looks ok. Is there any way to avoid wpg2 calling it at the main page? Besides of that everything is working like a charm. Any help will be appreciated. WP: 2.3
|
||||||
Posts: 1378
Easy way to fix this is to place a blank file (wpg2.css) in your wordpress theme and revalidate the WPG2 plugin. This should fix any issue you are having with the default css classes specified in the wpg2.css file..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation
Posts: 3
No luck.
As you suggest, I put a blank wpg2.css and revalidate the WPG2. The front page looks fine but the embebed gallery doesn't. When I restore the original wpg2.css, the problem comes back.
Did I miss something?
Thanks
Posts: 492
What about if you rename wpg2.css to wpg2_embedded.css and then create the blank wpg2.css. Add the following to wpg2header.php:
and then revalidate WPG2?
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 3
Ground control to Capt. Kirk:
- Problem solved.
Just need some easy css adjusts now...
Many many thanks.