Jump to content

markscarts

Member
  • Posts

    2,486
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by markscarts

  1. It is because of the height setting, or lack of one, on the subcat division. Differing height to the "floating boxes" created there cause some to "hang up" and not float all the way to the left. There is a tutorial about this at cubecart.org that explains this little issue plus a bunch more tutorial about minor CubeCart tweaks. You can also find my tutorial on google with these terms, "Latest Products and Subcategory Display Fix you can correct"
  2. @ wamasterhunter it is not valid css valid css = min-width property But, IE does not recognize the min-width property. However, neither does IE honor the actual width CSS property, because IE treats width as if it were min-width, so it will expnd a division even with a static width setting. Now armed with that info, you can capitalize on a couple of browser quirks to make the layout work in sacrifice of valid css. Though not css standard, most browsers except IE honor the line comment // in css; IE does not. So in my example, IE ignores min-width, but honors the //width which it always treats as min-width anyway. Other browsers honor min-width but ignore //width so the division can expand. There is a way to do this without sacrificing valid css, by putting the IE code in an if statement on the page. But the dirty solution above will work in theory.
  3. That is a good answer ~ give notice on the confirmed screen that they can get the download link from their account instead of waiting for email. Personally, I do not need for visitors to register just to get free digital items, so I use a different free-downloads mod that allows them to download while viewing the prod page. You can find that free mod easiest by using a google search for these words: direct downloads free cubecart mod
  4. Well, it's funny to me, because before you added a static width; it was already at 100% and adjusted according to browser resolution. I would have taken a different approach, which is, I would have simply added borders to the image since that is what you wanted, it is the same result as what you got by monkeying around with the division. As to that division, you can remove all borders from it, they are not necessary. These are simp[ly design choices you need to make. If you want this border to "shrink" to fit around any content you put in, regardless of screen resolution, well it's kind of a funny request. Why use a liquid width skin? Fixed width has a ton of advantages. You could experiment by setting a minimum width on that division. Not sure if that would work. I suppose this is .boxContent? Try: .boxContent { min-width: 500px; //width: 500px; } Instead of the static 600px width. Not sure if that will work, or how well. In theory, it would shrink as small as 500px, but no smaller, when necessary to fit around an image, so should have the same look as now on that image, but also would expand to fit wider content like text. The min-width is css, the //width is a comment trick to fool IE in playing along
  5. No problem! Here is an old thread that deals with the search problem and even references free solutions for more relevant searches in CubeCart, that were offered back before the "no outside links" rule here at the forum. http://www.cubecart.com/site/forums/index....ost&p=87688 Also, there is a great commercial mod that does the same, relevant search, and allows admin control over certain search criteria. If you are interested in info about the commercial version, send PM to me.
  6. Well, I'm getting a 404 page not found error
  7. It is because you have different width sizes for the subcat images, some are 134px or 135px wide ~ Yet the style sheet specifies a 110px wide container to hold each of them. Some are overflowing the containers and thus overlapping one another. To remedy, change the width setting in the stylesheet. skins/xx/styleSheets/layout.css Near the end find the .subcat class selector, and note the 110px width setting. Cahnge it to greater than 135px and your overlap problem will be solved. (You may need to change the height setting, too, or add a height setting if there is not one, to get the spacing here just right).
  8. Hard challenge? LOL Fact is, this forum is for supporting the official, stock CubeCart software. If you want something custom, you need to search the web or go to http://cubecart.org I create custom skins myself, but find the one you linked to a little ugly. I don't know of anyone with "off-the-shelf" skins like that for CubeCart. Please post somewhere else to follow up on your query, besides the official software forum.
  9. Same answer as the other thread, you can find this code in the tables coded into styleTemplates/content/cart.tpl
  10. Arrays or variables? LO(L Anyway, what you need to do is fix this with normal html coding in styleTemplates/content/cart.tpl You will have to brush up on your coding skills for tables, and adjust rows and cells to align things the way you want them to appear.
  11. Yes, you may. As an example, if you were using Legend skin, you would open this file, skins/Legend/styleTemplates/boxes/siteDocs.tpl The contents look like this, and I have added code for links in color-coded text. Give it a try Links added above <!-- BEGIN: a --> will be added to the front of the normal site doc list Links added below <!-- END: a --> will be added to the end of the normal site doc list Do not add new links between the <!-- BEGIN: a --> and <!-- END: a --> markers. The part, target="_blank" is what causes the link to open in a new window; remove it to open in the same window.
  12. From the looks of the source, it appears that you are using Microsoft Frontpage to create the stuff in that box. This explains why you are having this problem, and partly why there are so many validation errors on the page. Frontpage cannot create valid code. If not Frontpage, it is another dirty html wysiwyg editor you are using. I would suggest building the page through the rich text editor included with CubeCart, if possible. It will generally produce cleaner code than the one youu are using, though still not as good as writing the code by a knowledgeable human. To improve even more, you can update to the latest version of fckeditor (v. 2.0 ships with CC, but there are later version upgrades available at cubecart.org) The later versions of fckeditor produce even better code through the wysiwyg interface than ever before.
  13. Well, you give no link for reference, so we give no ideas, This could be any number of causes, from, "You edited it wrong" to "You have too many categories to fit in a smaller space," to "You have added large images on the page which "prop" open the elements so wide" WTF knows?
  14. use the search in your text editor to find the phrase you want to replace
  15. Well, (1) You are asking questions about a custom skin in the official, stock CubeCart forums, and (2) you are asking questions about skin coding in the general forum rather than the skin coding forum. Sorry to be a bore, but you really will get better results by following protocol, which should be somewhat intuitive except for the total internet forum novice. To actually answer your question, the reason these overlap in the really good browsers like FF is because of the width of those images vs. the width setting on the .subcat class in styleSheets/layout.css Open skins/Sweetness/styleSheets/layout.css and find .subcat, and you will see a width setting of 110px I believe. Increase that from 110 to about 561 to accomodate your images.
  16. Yes, this belongs in a different area, it is not a skin issue
  17. Well, you are a little bit wrong. All that needs changing in db for category order is the cat_id numbers, you can order these to your liking in db through phpMyAdmin, contact your web host for more info. To make the site docs and the categories "appear" in one box requires editing only skin files as instructed below. Make backup copies of all files in case you do not like the changes you can restore to original. Here is an example that should work in Legend or Classic skin: 1. OPEN skins/Legend/styleTemplates/categories.tpl, and change it like this: NOTE: You are merely adding the part in red to change some styles on .boxContentLeft division for the categories box. SAVE, CLOSE, UPLOAD file. 2. OPEN skins/Legend/styleTemplates/cartNavi.tpl, and change it like this: NOTE: You are merely adding the part in red to change some styles on .boxContentLeft division for the useful links box. SAVE, CLOSE, UPLOAD file. 3. OPEN skins/Legend/styleTemplates/siteDocs.tpl, and REPLACE the entire existing code with this code: SAVE, CLOSE, UPLOAD file. 4. OPEN styleTemplates/global/index.tpl and FIND this: {SITE_DOCS} REPLACE with this: &nbsp; FIND this: {CATEGORIES} PASTE this BELOW it: {SITE_DOCS} SAVE, CLOSE, UPLOAD file. 5. OPEN styleTemplates/global/cart.tpl and FIND this: {SITE_DOCS} REPLACE with this: &nbsp; FIND this: {CART_NAVI} PASTE this BELOW it: {SITE_DOCS} SAVE, CLOSE, UPLOAD file. -------------- After the changes above, site docs should appear to be added to category boxes throughout store.
  18. this is rather easily accomplished with a background image, but easier to do than to explain. as to the second problem, with copyright text in wrong place, this s due to an extra <div> or </div> tag in the template on viewCat page. find the extra tag and get rid of it. You should have an equal number of <div> and </div> tags Caveat - if you actually do have an equal number, one of them will be misplaced. You have to nest properly with <!-- BEGIN: xxx --> and <!-- END: xxx --> tags.
  19. that *is* the proper way to do it, LOL Also, as long as your banner ends in a solid color on the right side, you can keep it relatively small and set a background color to match it on the division :P
  20. what you are calling a "macro" is not assigned in includes/boxes/saleItems.inc.php to the skin template saleItems.tpl, that is what you are missing.
  21. I first posted such a list in October of 2005, and it it has been re-posted by Roban more times than I can count. Unfortunately, the search does suck sometimes As Roban wrote, thanks for posting it again, no problem As a side note, I have also annotated some of the stylesheets in exactly the manner you guys mention. One is available for easy download, I haven't posted the others yet. If anyone would like to see it, just type this into google search: Stylesheet layout.css for Classic Skin Annotated Roban was not knocking your contribution, just stating the fact that this information has been posted again and again. As to why it is sometimes difficult to find, that is because in the days when these type of things could be freely linked to in the forums, there was too much abuse by people who were "spamming" the forum with their commercial third-party services. Like so many good things on the web, spammers have found ways to either ruin or make things more difficult for everyone :)
  22. You need the free mod/tutorial "Site Docs in Side Box" and you follow instructions there, and then move {SITE_DOCS} in styleTemplates/global/index.tpl and styleTemplates/global/cart.tpl to just above {CATEGORIES} or {CART_NAV} to complete the mod. Sending pm to link for moving site docs tutorial.
×
×
  • Create New...