Matrix theme.css

dgbrow

Joined: 2010-02-25
Posts: 7
Posted: Sun, 2010-04-11 00:43

Using the Matrix theme with slight mods to the theme.tpl, photo.tpl and album.tpl. Works OK but I would like to change the format of "Description" of photos from center to left justified. Can I do that without inserting a different css file into the theme.tpl? Tried modifying the theme.css file without getting the display to change. Don't know just which call-out in the photo-tpl addresses the description display.

 
dgbrow

Joined: 2010-02-25
Posts: 7
Posted: Sun, 2010-04-11 01:00

Forgot to mention I'm using gallery2embedded.php.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-04-11 12:15

You can place your own corrective styles after the call to gallery's headHtml

<style>
block-core-ItemInfo {
  text-align:justify;
}
</style>

Using my simple embed tool?

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

 
dgbrow

Joined: 2010-02-25
Posts: 7
Posted: Sun, 2010-04-11 18:59

Thanks. I'll give it a try.

 
dgbrow

Joined: 2010-02-25
Posts: 7
Posted: Tue, 2010-04-13 03:42

No luck with change shown. Maybe inserted in the wrong section? Anyway, wound up revising the photo.tpl in the <div id="gsContent"> block .
<td>
{if !empty($theme.item........
Changed to
<td style="text-align:left">
{if !empty($theme.item.....
Appears to have done the job. Thanks for responding.