Page 70 of 227 FirstFirst ... 2060686970717280120170 ... LastLast
Results 691 to 700 of 2267
  1. #691
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    As far as Lightbox, I have no idea. I don't know of any reason why there would be a conflict.

    The list issue bears looking into. I think that it would take a bunch more coding to check whether there is already a list started, and whether a <li> should be wrapped around the one being built, or </li> added after the one being closed. I'll investigate and get back.

  2. #692
    Join Date
    Nov 2005
    Location
    Vancouver, Canada
    Posts
    151
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Glenn:

    lightbox issue was caused by some jquery script I wanted to add to a slideshow. so not related to your script, which is what I suspected.

    I would love a solution to the list issue. I'm finding that the positioning can be controlled for each of the IE browsers through separate stylesheets, but to meet both firefox and safari, is proving to be challenging. Firefox looks great, but in safari, the second list is higher than the first. can one have a separate stylesheet for safari?

    On IE, it seems that the entire left column is pushing against the center column, because it's not just a list issue. i use web develepor plugin on firefox to determine causes, but IE has no such plugin that I'm aware, so it's hard to determine what's happenning.

    Look at this PAGE on each browser, and you'll see what I mean.

    thanks for reviewing this, Glenn, I'm hoping my questions will help solve many issues for the many people using this mod.

  3. #693
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi Glen, I wonder if you could tell me what stylesheet area controls This margin/space between the bullet1.gif and the edge of the page:



    Every time I try move it left a touch (so I can change 'swim' to swimwear without it forcing a new line) it moves the header bars too :-)

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

    Default Re: Categories Dressing

    You have given the entire sidebox content 20px of left margin, so reducing that should take care of your problem:
    Code:
    #chcategoriesContent {
        margin-left: 20px;
    }

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

    Default Re: Categories Dressing

    Newagekat -

    I think your positioning issues will be best solved by switching from relative to absolute positioning. The categories box is not holding the space open where it is displaying anyway, so it won't matter that it will become "invisible" as a box.

    You need to make the box content position: relative; so it is a good frame of reference, and then position each category group with top: 0; and left: xxem; as appropriate.
    Code:
    #chcategoriesContent {position: relative;}
    ul#catGroup1_15
    {
    	width: 14em;
    	position: absolute;
    	left: 0em;
    	top: 0em;
    }
    
    ul#catGroup1_16
    {
    	width: 14em;
    	position: absolute;
    	left: 14.0em;
    	top: 0em;
    }
    ul#catGroup1_16 li
    {
    	padding-left: 2em;
    	border-left: 1px dotted #7597A6;
    }
    Your method of moving the categories over to the right is the cause of #navColumnOne getting so wide. You give the box a huge left margin, but no corresponding negative right margin, so the whole container is stretched. Relative positioning doesn't move the element out of its container, but stretches the container in some fashion to still surround it. I haven't studied this aspect in depth.
    Absolute positioning will get the box out of the layout flow. Then the content relative positioning will act as a frame for positioning the categories. I have also deleted a few properties from the code that were not doing anything in the new setup.
    Code:
    http://commonwealthyarns.com/includes/templates/craftBook/css/c_1.css
    
    #chcategories
    {
    	display: block;
    	height: 200px;
    	position: absolute;
    	left: 52em;
    	top: 33.5em;
    }
    
    .categoryListBoxContents { display: none; }

    I am working on the list issue - thought I had it solved, and a new wrinkle cropped up. I think it will be necessary to rework the flow of the base tpl_categories code, first closing the previous <li> as appropriate before or after the <ul> step, then creating the new one but not closing it until the next round. Fun stuff...

  6. #696
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Thanks Glen, you're the best... worked a treat :-)

  7. #697
    Join Date
    Nov 2005
    Location
    Vancouver, Canada
    Posts
    151
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi Glenn:

    I don't know if this is related to one of the selectors we turned off in the stylesheet, but if you click on Specials, and no specials are available, then the center box with the border is not drawn at all. Is this a logic issue on my part or a stylesheet display: none issue?

    the absolute positioning seems to be working. i'll keep you posted.

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

    Default Re: Categories Dressing

    When there are no products on special, no specials are shown. With the categories box absolutely positioned, that doesn't hold any space open, so the page can collapse all the way. If you give a min-height to one of those elements, you can keep it from collapsing in browsers newer than IE6.

  9. #699
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi, ive just downloaded the most recent version, and im having trouble removing the two heading images in the category list, where in the code are these placed.

    Thanks

  10. #700
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Ive figured it out now, it was in languages/english/extra_definitions/custom/categories_dressing_defines.php and i just put // in front of the code.

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR