Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Need to do some re-arranging

    I'm thinking of taking my home page verbage and my Featured Products section and swapping them from top to bottom and bottom to top. This would leave my home page verbage in place, which I believe does a lot to give me my excellent google ratings while also moving my thumbnails of my best products to the top of my page so people quickly and easily see what I offer, rather than having to read the categories menu. Has anybody done this before?

    Ian
    www.redlinestands.com

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

    Default Re: Need to do some re-arranging

    I'm sure nobody has ever done that;)

    Edit /includes/templates/your_template/templates/tpl_index_default.php, and move the define page section
    PHP Code:
    <?php if (DEFINE_MAIN_PAGE_STATUS >= and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
    <?php
    /**
     * get the Define Main Page Text
     */
    ?>
    <div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
    <?php ?>
    to below the centerbox loop
    PHP Code:
    <?php
      $show_display_category
    ->MoveNext();
    // !EOF
    ?>
    </div>
    to get
    PHP Code:
    <?php
      $show_display_category
    ->MoveNext();
    // !EOF
    ?>
    <?php 
    if (DEFINE_MAIN_PAGE_STATUS >= and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
    <?php
    /**
     * get the Define Main Page Text
     */
    ?>
    <div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
    <?php ?>
    </div>

  3. #3
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Need to do some re-arranging

    Well sure enough, that did it. I don't know how Glenn but you seem to know everything sometimes. Thank you sir!

    Ian

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

    Default Re: Need to do some re-arranging

    That comes from spending *way* too much time on the forum! :)

  5. #5
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Need to do some re-arranging

    Glenn, are you aware if Zen has a command in it to give your Featured Products a sort order? I know that right now it's set to random for their display but naturally I'd like my best selling products to always display towards the top left.

    Ian

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

    Default Re: Need to do some re-arranging

    I believe they're strictly random. You would need to add some coding to look up the number of sales for each and sort by that. The Products Purchased report in admin does it.

  7. #7
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Need to do some re-arranging

    Hey Glenn, have a look at this if you will please. I've been playing with the stylesheet on my new site below but really all I know to do is adjust numbers and hope for the best because I don't much understand the theory behind our changes. I'm trying to get my logo image and logo background image to align along that bottom edge properly and then I also need to adjust something so it brings my categories tab right up underneath the logo. These are the same changes we made to www.redlinestands.com Can you please explain the changes we are making and why we're making them to achieve this? Thanks in advance sir!

    Ian
    http://www.americandieselservice.com/catalog/

  8. #8
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Need to do some re-arranging

    I have also managed to somehow get my ez pages links below the Logo-Background.jpg image instead of on top of it. Not sure how I did that...........

    Ian

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

    Default Re: Need to do some re-arranging

    I think the logo for this site is wider than the other, so the 550px you had for #navEZPagesTop wouldn't fit.
    Tweaks in red:
    Code:
    #headerWrapper
    { background-image:url(../images/Logo-Background.jpg);
      background-repeat:no-repeat;
      background-position:center 32px; /* changing the margin below and left padding moves the categories upward underneath the logo */
      margin: 0em;
      padding: 0em;
      height:162px; } /* changed from 165px to get rid of tiny gap under logo */
    
    
    
    #navEZPagesTop 
    { width:480px; /* This #px specifies how many px from the far right that the ez pages links will begin, originally at 512px */
      float:right;
      background:none;
      font-size:0.95em;
      font-weight:bold;
      margin:100px 0 0 0; /*The first #px term defines how far down from the top of the header that the links will be displayed*/
      padding:0.5em; 
      color:#ffffff; } /*This color color code is responsible for the colons in the ez pages header links*/

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

    Default Re: Need to do some re-arranging

    background-position: center 32px;
    The second value is vertical (down from top edge), and adding a few px brought it down to match the logo.

    width:480px;
    The float: right; lets the nav move up as high as it can in its container while fitting with previous elements like the logoWrapper.
    If #logoWrapper + #navEZPagesTop = more than the header width, they can't fit side by side.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Need some help arranging my product info page
    By menappi in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 2 Jul 2012, 05:37 AM
  2. v150 Need help re-arranging layout of category product listing page
    By webmiss in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jun 2012, 11:08 PM
  3. Need help arranging thumbnail icons for product categories
    By hoosiercanuck in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Mar 2011, 09:59 PM
  4. Need some items marked 'order received' some 'shipped'
    By bodini in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 Mar 2008, 07:09 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