Imageblock in sidebar adjustment

Another_Matt

Joined: 2009-08-20
Posts: 40
Posted: Sat, 2009-10-03 04:37

I'm using the .one-image / float: left technique to get my imageblocks to line up horizontal. Which works great until you add imageblock in the side bar. Goes nuts with a vertical image. To fix this problem, I added a unique .one-imageSidebar without the float to theme.css.

So here's my question- where do I add my code to affect the sidebar? I've looked all over and can not find it. I'm using the matrix theme with G2.3. I hope someone knows what I'm talking about. Thanks.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2009-10-03 04:47
 
Another_Matt

Joined: 2009-08-20
Posts: 40
Posted: Sat, 2009-10-03 15:15

Thanks for your comment suprsidr. MediaBlock doesn't seem to handle permissions as well as ImageBlock. When I showcase Recent Images on my home page, they need to be the most recent images that user has permission to see. Guests would see different Recent Images than registered users. MediaBlock (as far as I know) can only show images with full/open permissions.

I've attached a photo of the page to help clarify things. You can see my edit highlighted in yellow. I just need to know where that file is so I can make it permanent.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2009-10-03 15:25

modules/imageblock/templates/ImageBlock.tpl

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Another_Matt

Joined: 2009-08-20
Posts: 40
Posted: Sat, 2009-10-03 16:21

That controls every ImageBlock. I just want to apply .one-imageSidebar to the sidebar.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2009-10-03 16:30

modules/imageblock/templates/blocks/ImageBlock.tpl

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Another_Matt

Joined: 2009-08-20
Posts: 40
Posted: Sat, 2009-10-03 19:09

Yes, that's it. Thanks!

Here's my fix - http://gallery.menalto.com/node/54700#comment-323103