Jump to content

bsmither

Member
  • Content Count

    13,629
  • Joined

  • Last visited

  • Days Won

    406

bsmither last won the day on February 13

bsmither had the most liked content!

Community Reputation

1,284 Excellent

Profile Information

  • Gender
    Male
  • Location
    Pacific Coast

Recent Profile Visitors

85,638 profile views
  1. Try: In common.css, find the rule near line 143: Add the new display:table line as shown. #breadcrumb ul { height: 21px; margin: 0px; padding: 0px; display: table; } You will need to have CubeCart clear it's internal cache and probably force your browser to reload page resources.
  2. bsmither

    Facebook and Instagram

    If you are using CubeCart 6.2+ with Foundation (an appropriate third-party skin that copied Foundation), then in admin, Store Settings, General tab, the Social Account table asks for a whole URL or just the username part. Something entered here will cause the relevant icon to show in the Social Media box (footer in Foundation). (Be sure to clear CubeCart's cache after making changes in admin.)
  3. bsmither

    What does this error mean?

    A visitor (perhaps Google or similar) is making a request for sale items when the store is not in sale mode. This bug manifests in such a combination. The fix is in CC623: https://github.com/cubecart/v6/issues/2130
  4. bsmither

    What does this error mean?

    Looks like bug when asking for Sale Items when the store is in a Non-Sale Global Sale mode.
  5. bsmither

    Hide category image

    The images helps. In admin, Manage Hooks, Code Snippets tab, click Add Snippet. Enabled: Check Unique_ID: if_subcat_suppress_cat_image Execution Order: 1 Description: If viewing a subcat, then do not use it's image. Trigger: class.cubecart.pre_display_category Version: 1.0 Author: https://forums.cubecart.com/topic/54672-hide-category-image/ PHP Code: <?php if(!empty($catData['cat_parent_id'])) { unset($catData['cat_image']); }
  6. bsmither

    cubecart.default.css

    If the ability for editing a skin (or any) file as a feature of the administration suite, it may not show until CubeCart 7 (if at all). I am aware of some third-party skins that come with web-based controls for setting page attributes.
  7. bsmither

    Get footer to stick to bottom of page

    Currently, my approach is to make the documents box an off-canvas thing.
  8. bsmither

    Hide category image

    I'm confused. The first sentence says you want to manually apply an image (and presumably show it). The second sentence you want to suppress displaying it. Can you clear this up?
  9. bsmither

    Get footer to stick to bottom of page

    Closing the off-canvas block early - that is, not having the main page content within the "inner-wrap" block - makes the off-canvas fly-in menus not work at all on a mobile screen. So, back to square one.
  10. bsmither

    Get footer to stick to bottom of page

    This does not work out as well as I had thought. When viewing on a mobile device, the footer takes up the whole screen - just at the bottom - like the sticky is supposed to. So, we will need to find a way to make the Documents box a lot smaller in the small view. Maybe make it an off-canvas box. Perhaps the reason that the sticky thing didn't work for you is because: <div class="off-canvas-wrap" data-offcanvas> is an ancestor container (to the sticky div) that has overflow:hidden. Apparently, this destroys the stickiness. So, the edit to that statement closed the div blocks, leaving the rest of the page as a sibling. That allowed the stickiness to work.
  11. bsmither

    Get footer to stick to bottom of page

    I think I have something. We will edit the skin template main.php: Find: </head> On a new line ABOVE that, ADD: <style> div.sticky { position: -webkit-sticky; position: sticky; bottom: 0; background-color: yellow; padding: 50px; font-size: 20px; } </style> Find: {include file='templates/box.off_canvas.left.php'} {include file='templates/box.eu_cookie.php'} On a new line AFTER that, ADD: </div> </div> Near the bottom, find: {include file='templates/ccpower.php'} </div> </div> {include file='templates/element.markup.json-ld.php'} Change to: {include file='templates/ccpower.php'} {include file='templates/element.markup.json-ld.php'} Find: <footer> Change to: <div class="sticky"><footer> Find: </footer> Change to: </footer></div> The above is just an experiment. We will need to put the correct CSS in a CSS file.
  12. bsmither

    Get footer to stick to bottom of page

    I did something similar to a test install some time ago. But it only works with keeping things stuck to the top. I used the jQuery plugin from: http://stickyjs.com We may need to find something else.
  13. bsmither

    Get footer to stick to bottom of page

    Maybe that's because a side panel is that tall. But I think I see what you want.
  14. bsmither

    Get footer to stick to bottom of page

    We need the footer to stay below everything on the page - below even the very last bit of normal page contents? Isn't that what it did before the edit? Oh, wait. I think I see what you are after.
  15. bsmither

    Get footer to stick to bottom of page

    Yes. What would you like it to do, otherwise?
×