div id=productGrid nested within another div id=productGrid

  • Problem
  • Updated 4 years ago
  • Acknowledged
Hi guys, when attempting to customize my styles, I noticed in #content-middle, there is a div wrapper inside with id=productGrid, and within that div, there is another div, also with the id=productGrid. Is this just my particular theme?

You can Firebug my layout here: http://fifthandbrannan.corecommerce.com/

This is causing some styling issues for me (though if the inside #productGrid were a class instead, we'd be all good.)

Thoughts? Can I go about changing this myself, or is it built into the theme.

Thanks!
Photo of barron

barron

  • 51 Posts
  • 2 Reply Likes
  • hot and bothered

Posted 4 years ago

  • 1
Photo of barron

barron

  • 51 Posts
  • 2 Reply Likes
Anyone? Sad. Hope I'm not the only one with this issue? Seems like it may cause problems down the road with other people using the same theme (00231-1).
Photo of Matt DeLong

Matt DeLong, CEO

  • 997 Posts
  • 75 Reply Likes
Had to do a little research on this and it appears that on the homepage only **if you are showing featured products, then the duplicate productGrid will appear. I guess the challenge is changing it now would likely alter it for all customers and would have an undesirable affect.
Photo of barron

barron

  • 51 Posts
  • 2 Reply Likes
Hey Matt,

That's understandable. Would it be possible to add a unique class to that inner div with id=productGrid, so we can target it directly with styles and not affect the outer productGrid div?