Unstyled DIV tag in Sidebar Grid

Mr Papa

Joined: 2006-07-19
Posts: 14
Posted: Sat, 2007-10-13 06:59

Hello,

Using the 3.0.2 version and trying to use the sidebar grid widget... I have run into an issue in trying to style the appearance... A key DIV tag that I would like to style has no class/id associated with it... I hope I am just missing how to get a class/id applied to it...

The sidebar grid comes out in the form

<div>
  <div class="wpg2sidebargrid-image">
    <a>...
    <img>...
  </div>
  <div class="wpg2sidebargrid-image">
    <a>...
    <img>...
  </div>
  ...
</div>

Is there any way to apply a class/id to that unstyled DIV?

Thanks...

Visit Mr Papa's World
Visit Cruise Talk Central

 
ClimbingMonkey

Joined: 2005-03-18
Posts: 62
Posted: Sun, 2007-10-14 08:02

I don't remember for sure to be honest... but I'm pretty sure the answer is no. (At least without hacking the G2 code)

I have done most of the css work for the wpg2 project and remember asking the same question. I wanted to style this as well when I was working on this piece and I think we couldn't because that specific <div> tag is automatically generated by G2. I could be wrong but I'm pretty sure that's that case...

---------------------------------------------------
Wordpress / Gallery2 (WPG2) Developer
My Site: http://www.marcnjami.com/

 
Mr Papa

Joined: 2006-07-19
Posts: 14
Posted: Sun, 2007-10-14 08:49

I think you are correct... just trying to make sure I wasnt missing something...

Visit Mr Papa's World
Visit Cruise Talk Central

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2007-10-23 01:13

The <DIV> Tags are being applied internally so we cannot (yet) specify them, in WPG2 3.1 we will be switching away from the internal imageblock module and instead directly generating the images thus we will be able to allow you to free define your own DIV classes..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation