Thread: Layout Changes

Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38
  1. #11
    Join Date
    Jan 2011
    Location
    Newark, DE
    Posts
    69
    Plugin Contributions
    0

    Default Re: Layout Changes

    I'm pretty sure I found the rule in INCLUDES/MODULES/CATEGORY_ROW.PHP I've pasted the code below. I think the rule: "categoryListBoxContents"' . ' ' . needs to be deleted? But do you know HOW MUCH of the code below needs to be deleted?

    }
    $title = '';
    $num_categories = $categories->RecordCount();

    $row = 0;
    $col = 0;
    $list_box_contents = '';
    if ($num_categories > 0) {
    if ($num_categories < MAX_DISPLAY_CATEGORIES_PER_ROW || MAX_DISPLAY_CATEGORIES_PER_ROW == 0) {
    $col_width = floor(100/$num_categories);
    } else {
    $col_width = floor(100/MAX_DISPLAY_CATEGORIES_PER_ROW);
    }

    while (!$categories->EOF) {
    if (!$categories->fields['categories_image']) !$categories->fields['categories_image'] = 'pixel_trans.gif';
    $cPath_new = zen_get_path($categories->fields['categories_id']);

    // strip out 0_ from top level cats
    $cPath_new = str_replace('=0_', '=', $cPath_new);

    // $categories->fields['products_name'] = zen_get_products_name($categories->fields['products_id']);

    $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>');

    $col ++;
    if ($col > (MAX_DISPLAY_CATEGORIES_PER_ROW -1)) {
    $col = 0;
    $row ++;
    }
    $categories->MoveNext();
    }
    }
    Annette
    www.annetteslingerie.com

  2. #12
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Layout Changes

    I don't think so. You don't have a defaults.css stylesheet anywhere ? Does this path exist includes/templates/TemplateEditor/css/ and is the file in there ?

    And what's the name of your template and where did you get it ?

  3. #13
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Layout Changes

    It exists
    annetteslingerie dot com/includes/templates/TemplateEditor/css/defaults.css
    If you put that in the browser it shows it.

  4. #14
    Join Date
    Jan 2011
    Location
    Newark, DE
    Posts
    69
    Plugin Contributions
    0

    Default Re: Layout Changes

    hmm, I can't find it when I search my zen cart downloaded file? If it's showing in browser search, how do I get to it ?

    By the way, here is what I've found in answer to Steves post: includes/templates/classic (which contains css & images) and includes/templates/template_default (which contains css and templates). Then within includes/templates/template_default/templates, there are 1) tpl_index_categories.php and tpl_index_category_row.php.
    Annette
    www.annetteslingerie.com

  5. #15
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Layout Changes

    Do you have an ftp program?
    If yes use it, and browse to that directory.
    If not, get one and do like said.

  6. #16
    Join Date
    Jan 2011
    Location
    Newark, DE
    Posts
    69
    Plugin Contributions
    0

    Default Re: Layout Changes

    I do, Filezilla. This goes back to my original post - I've posted several posts that have resulted in stylesheet changes that I've attempted to make a dozen times but nothing is working. (think problem is with the download/ make changes/ upload with ftp steps) I am about ready to completely give up....

    When I find in Filezilla, do I change right there, or download, change and upload? When I search my zen cart file on hard drive (not using Filezilla), shouldn't I be able to locate the file on hard drive? When searching for file to change, do we always need to use Filezilla?
    Annette
    www.annetteslingerie.com

  7. #17
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Layout Changes

    http://wiki.filezilla-project.org/Using

    Download the file from the server to your hdd
    Edit the file on your pc (good to have a text editor like notepad++, you can google it)
    Upload the file - before uploading you could rename the file on the server, so if the edited file creates problem you can roll back to the working file by just renaming it to its original name, i.e. defaults.css > defaults_old.css; if newly uploaded file works fine, you can delete the old one.

    It would be good to have the same structure of Zen Cart on your local pc.

  8. #18
    Join Date
    Jan 2011
    Location
    Newark, DE
    Posts
    69
    Plugin Contributions
    0

    Default Re: Layout Changes

    I opened with Filezilla: Includes/templates/annettescustom/images
    includes/templates/annettescustom/sideboxes and
    includes/templetes/annettescustom/css
    Still don't see the original rule at line600: "listboxcontents.... none" ?
    Here is coding within annettescustom/css :

    /*Version 1.3.9b*/
    /*Cornflowerblue Menu CSS*/
    #categoriescss.leftBoxContainer {
    background: #d########3;
    border: 1px solid #0000ff;
    width: 150px;
    padding-bottom: 10px;
    }

    #categoriescssHeading.leftBoxHeading {
    background: #87ceeb;
    border-bottom: 1px solid #0000ff;
    margin-bottom: 1px;
    }

    #nav-cat {
    width: 150px;
    margin: 0 0 0 0px;
    background-color: #fff;
    font-weight:bold;
    }

    #nav-cat ul {
    margin: 0;
    padding: 0;
    width: 150px;
    background-color: #6495ed;
    }

    #nav-cat ul.level2 {background-color: #6495ed;}
    #nav-cat ul.level3 {background-color: #6495ed;}
    #nav-cat ul.level4 {background-color: #6495ed;}
    #nav-cat ul.level5 {background-color: #6495ed;}
    #nav-cat ul.level6 {background-color: #6495ed;}

    #nav-cat li {
    position: relative;
    list-style: none;
    margin: 0;
    margin-top: 0px; /* change this to put space between buttons*/
    border-bottom: 1px solid #d########3;
    }

    #nav-cat li li {
    margin: 0; /* overrides the margin-top above */
    }

    #nav-cat li:hover {
    z-index: 1000;
    background-color: #d########3;
    }

    #nav-cat li a:hover {
    color: #191992;
    }

    #nav-cat li.submenu {
    background: url(../images/arrows/arrow33.png) 99% 50% no-repeat;
    background-color: #6495ed;
    }

    #nav-cat li.submenu:hover {
    background: url(../images/arrows/arrow33.png) 99% 50% no-repeat;
    }

    #nav-cat li a {
    display: block;
    padding: 0.25em 0 0.25em 0.5em;
    text-decoration: none;
    width: 100%; color: #fff;
    }

    #nav-cat>ul a {
    width: auto;
    }

    #nav-cat ul ul {
    position: absolute;
    top: 0;
    left: 150px;
    display: none;
    }

    #nav-cat ul.level1 li.submenu:hover ul.level2,
    #nav-cat ul.level2 li.submenu:hover ul.level3,
    #nav-cat ul.level3 li.submenu:hover ul.level4,
    #nav-cat ul.level4 li.submenu:hover ul.level5,
    #nav-cat ul.level5 li.submenu:hover ul.level6 {
    display:block;
    border-left: 2px solid #d########3;
    }
    Annette
    www.annetteslingerie.com

  9. #19
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Layout Changes

    The path is
    includes/templates/TemplateEditor/css/defaults.css
    It is NOT annettescustom

  10. #20
    Join Date
    Jan 2011
    Location
    Newark, DE
    Posts
    69
    Plugin Contributions
    0

    Default Re: Layout Changes

    I see that, but when I open with Filezilla, TemplateEditor is not there. And a while ago when trying to add a different add on, I changed name of custom template AnnettesCustom per instructions for that addon (which I also have gotten to work)

    I don't understand how you found includes/templates/TemplateEditor/css/defaults.css
    with the browser, but I don't see in filezilla file.

    I will keep looking. I appreciate everyone's time and help!
    Annette
    www.annetteslingerie.com

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. General Layout Changes
    By partinrl in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Apr 2013, 02:22 PM
  2. Layout Changes
    By annettes in forum Customization from the Admin
    Replies: 1
    Last Post: 26 Feb 2011, 04:17 PM
  3. Layout changes
    By bgroup99 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Dec 2006, 05:47 PM
  4. changes to layout
    By spottedhaggis in forum General Questions
    Replies: 2
    Last Post: 9 Aug 2006, 03:27 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