Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    46
    Plugin Contributions
    0

    Default move category name above category picture

    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.

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: move category name above category picture

    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.

  3. #3
    Join Date
    Oct 2008
    Posts
    46
    Plugin Contributions
    0

    Default Re: move category name above category picture


  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: move category name above category picture

    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.

  5. #5
    Join Date
    Oct 2008
    Posts
    46
    Plugin Contributions
    0

    Default Re: move category name above category picture

    that did it, thanks.

 

 

Similar Threads

  1. Move images above category description revisited
    By catach in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Sep 2011, 09:24 PM
  2. Move category description next to picture
    By Dustie in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 19 Dec 2010, 06:29 PM
  3. move subcategory links above category information
    By Muzz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Oct 2009, 05:03 AM
  4. White space above picture, below category
    By Mailly in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Sep 2007, 06:11 PM
  5. Move category links above product categories
    By wildgarden in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 8 Mar 2007, 06:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg