Results 1 to 10 of 3041

Threaded View

  1. #11
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by MeltDown View Post
    Jade - Originally I had posted this question in the Zen forum under General questions to try and give you a break but I've been directed back to you.
    Sorry, I just can't seem to give you a break.

    If possible, I would like to hide the sideboxes on the main page only. To this end I placed the following code into tpl_main_page.php:
    Code:
      if ($this_is_home_page == true) {
        $flag_disable_left = true;
        $flag_disable_right = true;
      }
    It works, as the sideboxes are hidden on that page. However, the items on that page are all pulled to the right. It sounds as though this may be an Apple Zen conflict. Is there any way to achieve this desired result in Apple Zen?

    Thanks again,

    Tim
    Hi Tim,

    No, I'm glad you've been posting, the issues you've been having have brought to light some issues I've been having with the template. And I've NOW figured out how to get the code right so people should not keep having the same extra </div> or missing an </div> issues they've been having.

    I have a new tpl_main_page.php for you. (Attached as a txt file). Within the attached file, I've also set up the code so the site checks if it is the home page and the sideboxes won't show up if it is.

    As for the issue of the page pulling to the right, you could style this with zen cart 1.3.7's new home page only css tag, #indexHomeBody. However I notice on your home page's source, it has:

    <body id="indexBody">
    INSTEAD OF
    <body id="indexHomeBody">

    Are you not using 1.3.7?

    If you are using 1.3.7, and we get that fixed, you could put this in your css:

    #indexHomeBody .centerColumn {
    width: 95&#37;!important;
    float: left!important;
    }

    you'd also have to add this:

    #indexHomeBody #centerColumnWrapper2 {
    background:#ffffff!important;
    }

    to get the entire home page's background white, instead of white/grey.
    Attached Files Attached Files

 

 

Similar Threads

  1. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3726
    Last Post: 2 Feb 2026, 06:28 PM
  2. Cherry Zen Template Support Thread
    By jettrue in forum Addon Templates
    Replies: 3250
    Last Post: 13 Nov 2017, 08:02 PM
  3. v151 Zen Magnific Support Thread
    By mutinyzoo in forum All Other Contributions/Addons
    Replies: 79
    Last Post: 14 Sep 2015, 04:39 AM
  4. Simple Zen Template - Support Thread
    By jettrue in forum Addon Templates
    Replies: 461
    Last Post: 27 Apr 2013, 01:33 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