I am interested in swapping vertically, the position of the category image and the category name. I apologize if this has been answered but searching now turns up so much stuff I cant find what Im looking for anymore.
Thanks.
I am interested in swapping vertically, the position of the category image and the category name. I apologize if this has been answered but searching now turns up so much stuff I cant find what Im looking for anymore.
Thanks.
Can you post an example of the page you're referring to?
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
includes/modules/category_row.php
Change this:
$list_box_contents[$row][$col] = array(
'params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>');
To this:
$list_box_contents[$row][$col] = array(
'params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . $categories->fields['categories_name'] . '<br />' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a>');
Should do the trick.
Last edited by twitchtoo; 21 Feb 2014 at 11:30 PM.
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
that did it, thanks.