Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Mar 2010
    Posts
    11
    Plugin Contributions
    0

    Default Two Page Layout Questions

    HI,

    I have searched for the answer to the following two questions quite a bit, but I haven't been able to get an answer.

    The site I am working on is: www.hidkitscheap.com

    My first problem is with Category margins or spacing. As you can see there is a lot of "white space" between each of the categories on the main page. I would like to reduce that amount of spacing to be about 1/10 of what it is now.

    My second layout question has to do with category content and and subcategory selections. Basically I want the subcategory images to show up BEFORE the text for the subcategory. Is something like that possible?

    Thanks

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Two Page Layout Questions

    Quote Originally Posted by BillySnake13 View Post
    HI,

    I have searched for the answer to the following two questions quite a bit, but I haven't been able to get an answer.

    The site I am working on is: www.hidkitscheap.com

    My first problem is with Category margins or spacing. As you can see there is a lot of "white space" between each of the categories on the main page. I would like to reduce that amount of spacing to be about 1/10 of what it is now.

    My second layout question has to do with category content and and subcategory selections. Basically I want the subcategory images to show up BEFORE the text for the subcategory. Is something like that possible?

    Thanks
    looks like you copied and pasted your content from a MS word document.
    You've got all those MS word specific styles that you should get rid of.

  3. #3
    Join Date
    Mar 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Two Page Layout Questions

    Well, I did that after the fact to see if that would work. But I have done it both ways.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Two Page Layout Questions

    You have your category listing set to display 5 per row, so you will get the whitespace. Set to a larger number to pack them tighter.
    Configuration > Maximum Values > Categories To List Per Row.

  5. #5
    Join Date
    Mar 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Two Page Layout Questions

    Anyone know about the second item on the list?

  6. #6
    Join Date
    Mar 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Two Page Layout Questions

    bump for some help for item number 2

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Two Page Layout Questions

    You should be able to rearrange code sections in /includes/templates/your_template/templates/tpl_index_categories.php. Find this
    PHP Code:
    <?php
    // categories_description
        
    if ($current_categories_description != '') {
    ?>
    <div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description;  ?></div>
    <?php // categories_description ?>
    and move it to just below
    PHP Code:
    <!-- EOFDisplay grid of available sub-categories --> 

  8. #8
    Join Date
    Mar 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Two Page Layout Questions

    You guys rock. Gjh42 thanks!!!

  9. #9
    Join Date
    Mar 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Two Page Layout Questions

    Does anyone know how to do it for subcategories as well?

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Two Page Layout Questions

    Not sure I understand what you want. The instructions given will work on any category/subcategory listing.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Two quick layout questions
    By adamlonsdale in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 May 2010, 01:42 PM
  2. Two questions, hopefully you have two answers! :)
    By quickening in forum General Questions
    Replies: 4
    Last Post: 12 Aug 2008, 02:41 PM
  3. Two layout questions for my new site
    By Thundercb in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 Jul 2006, 11:46 PM
  4. 2 Questions - Category on Main page? and Two Stores?
    By PeterMan in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 12 Jul 2006, 02:24 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