Alignment of description not logically
Posted: 21 Dec 2013, 16:09
Hello Phoca team,
(using Joomla 3.2.0 with Galery 4.0.4)
For the detail window I'm using the no-popup setting (COM_PHOCAGALLERY_NO_POPUP). This shows the pictures as normal html pages. When activating the description on the detail screen I choose the standard setting (COM_PHOCAGALLERY_SHOW_STANDARD).
On the screen, the picture and navigation controls are shown at a centered way, which is ok; but the description is left aligned! Very strange.
In order to solve this, I have edited the defaults.php (components/com_phocagallery/views/detail/tmpl/default.php) and changed:
into
And now the description oulines nicely in the center together with the picture and navigation!
Please check this out yourselve and considor taking over this minor change in code...
Regards,
Rob.
(using Joomla 3.2.0 with Galery 4.0.4)
For the detail window I'm using the no-popup setting (COM_PHOCAGALLERY_NO_POPUP). This shows the pictures as normal html pages. When activating the description on the detail screen I choose the standard setting (COM_PHOCAGALLERY_SHOW_STANDARD).
On the screen, the picture and navigation controls are shown at a centered way, which is ok; but the description is left aligned! Very strange.
In order to solve this, I have edited the defaults.php (components/com_phocagallery/views/detail/tmpl/default.php) and changed:
Code: Select all
// Standard Description
if ($this->tmpl['displaydescriptiondetail'] == 1) {
echo '<tr>'
.'<td colspan="6" align="left" valign="top" class="pg-dv-desc">'Code: Select all
// Standard Description
if ($this->tmpl['displaydescriptiondetail'] == 1) {
echo '<tr>'
.'<td colspan="6" align="center" valign="top" class="pg-dv-desc">'Please check this out yourselve and considor taking over this minor change in code...
Regards,
Rob.