Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Posts
    75
    Plugin Contributions
    0

    Default Move category images above text on index.php

    How do I move the category images so they are below the TEXT_GREETING_GUEST or TEXT_GREETING_PERSONAL but above the define_main_page.php text on the index.php page?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Move category images above text on index.php

    /includes/templates/YOURTEMPLATE/templates/tpl_index_categories.php
    Code:
    <?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
    <div id="indexCategoriesMainContent" class="content"><?php
    /**
     * require the html_define for the index/categories page
     */
      include($define_page);
    ?></div>
    <?php } ?>
    move down below this:
    Code:
    <!-- BOF: Display grid of available sub-categories, if any -->
    <?php
      if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
        // do nothing
      } else {
        // display subcategories
    /**
     * require the code to display the sub-categories-grid, if any exist
     */
       require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
      }
    ?>
    <!-- EOF: Display grid of available sub-categories -->
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    May 2005
    Posts
    75
    Plugin Contributions
    0

    Default Re: Move category images above text on index.php

    Many Thanks!

 

 

Similar Threads

  1. v153 URGENT Product category images above text on main page
    By vvomble in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Sep 2014, 12:47 PM
  2. v151 move category name above category picture
    By creff in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Feb 2014, 08:48 PM
  3. Replies: 2
    Last Post: 25 Sep 2011, 12:18 PM
  4. Move images above category description revisited
    By catach in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Sep 2011, 09:24 PM
  5. Category Images displayed in link /index.php?=index&cPath=0
    By shadowd in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Feb 2010, 09:16 PM

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