Syler Posted April 30, 2015 Share Posted April 30, 2015 Hello everybody, It's nice to be back here again. It's been a few years since I got involved with setting up a website. A lot has changed but as always, CubeCart is still my choice. Anyway, could someone please kindly help and point me to the right place where I can increase the size of the Sub-Category thumbnails for CC v6.04 Foundation skin. Any previous post maybe? I've been searching but only see post from 2011 which I believe is not going to be valid for CC v6. Thank you. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 30, 2015 Share Posted April 30, 2015 Welcome back! You need to do two things.1. Increase the set thumb size (maximum) of the subcategory images in the skins/foundation/config.xml file.<image reference="subcategory" maximum="105" quality="80" default="noimage.png" />2. In the skins/foundation/templates/content.category.php file. You need to make the number of block grid columns smaller so large thumbs fit in. More info here: http://foundation.zurb.com/docs/components/block_grid.html Quote Link to comment Share on other sites More sharing options...
Syler Posted April 30, 2015 Author Share Posted April 30, 2015 Hi Al, Thank you so much for the fast reply and the instruction.Really appreciate it. Hopefully this rusty brain still up to it.. LOLBy the way, I just found something interesting with 'Expand category navigation tree' option in CC v6.So if that option is set to 'NO', then basically no one can get to any sub-categories if browsing using mobile phone since no thumbnails is displayed.Just want to confirm that or is it just my phone? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 30, 2015 Share Posted April 30, 2015 No its intentional. Different devices may display different things. They will need to navigate with the main menu. You can always add it if you wish but it will take up a lot of room on a smart phones before the products are shown which arguably could cost you sales. For instructions about visibility please see: http://foundation.zurb.com/docs/components/visibility.html Quote Link to comment Share on other sites More sharing options...
Syler Posted April 30, 2015 Author Share Posted April 30, 2015 I see your point and I do agree about the limited space on the phone.So, now.. how can anyone get to the sub-categories if navigate with main menu only showing parent categories (no more dropdown menu to click and no thumbnails) is there anything that I'm missing here? Is there any way of setting the dropdown to 'NO' but doesn't effect mobile display? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 30, 2015 Share Posted April 30, 2015 I don't think this has been raised before. I think the only solution is to enable the expanding menu. There should be a means to force this to be on for mobile. I'll raise an issue. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 30, 2015 Share Posted April 30, 2015 I raised an issue here:https://github.com/cubecart/v6/issues/497For now I would recommend either enabling the nav to expand or change the code to display subcategories on mobile as I showed before. Quote Link to comment Share on other sites More sharing options...
Syler Posted April 30, 2015 Author Share Posted April 30, 2015 Thank you very much Al.Will do that for now and looking forward to an update. Quote Link to comment Share on other sites More sharing options...
drupopuppis Posted May 24, 2016 Share Posted May 24, 2016 On 30/04/2015 at 1:54 PM, Al Brookbanks said: Welcome back! You need to do two things. 1. Increase the set thumb size (maximum) of the subcategory images in the skins/foundation/config.xml file. <image reference="subcategory" maximum="105" quality="80" default="noimage.png" /> 2. In the skins/foundation/templates/content.category.php file. You need to make the number of block grid columns smaller so large thumbs fit in. More info here: http://foundation.zurb.com/docs/components/block_grid.html I have just increased the size of the subcategories but nothing happens on the live site. I have also cleared the cache but nothing again. I am using cubeCart V6 and Foundation aas template, what could I be missing? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 24, 2016 Share Posted May 24, 2016 Did you clear the image cache along with the CC cache, and the browser cache as well? Quote Link to comment Share on other sites More sharing options...
drupopuppis Posted May 24, 2016 Share Posted May 24, 2016 15 minutes ago, Dirty Butter said: Did you clear the image cache along with the CC cache, and the browser cache as well? Browser yes / images yes / cc not sure, will check again now update...! Problem solved.....previously missed CC cache. It was good to edit the "content.category.php" as I have also increased the size of the subcategory text. Many thanks..! Quote Link to comment Share on other sites More sharing options...
drupopuppis Posted May 25, 2016 Share Posted May 25, 2016 HI all, As of today I am back on seeing the small thumbnails on subcategories page despite making the above changes. I have already: modified the config.xml from the small 105 px to 300px <image reference="subcategory" maximum="300" quality="80" default="noimage.png" /> modified the content.category.php and removed the <small>...</small> so that the text appears bigger <img class="th" src="{$subcat.cat_image}" alt="{$subcat.cat_name}"> cleared the CC cache cleared the image cache emptied the browser cache While I can see the subcategories text bigger, the thumbnail max width shown is 150px. So I guess I have to change some other parameters in the php file? Quote Link to comment Share on other sites More sharing options...
drupopuppis Posted May 25, 2016 Share Posted May 25, 2016 [SOLVED] On content.category.php changed <ul class="medium-block-grid-6 text-center{if $CONFIG.catalogue_expand_tree ==1} show-for-medium-up{else} small-block-grid-3{/if}" data-equalizer> to <ul class="medium-block-grid-3 text-center{if $CONFIG.catalogue_expand_tree ==1} show-for-medium-up{else} small-block-grid-3{/if}" data-equalizer> So basically it will change the columns from 6 to 3 and now the thumbnails can fit properly. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 25, 2016 Share Posted May 25, 2016 Glad you were able to fix it yourself. That's what Al meant when he said you would have to change the grid size to fit the larger images. Quote Link to comment Share on other sites More sharing options...
drupopuppis Posted May 25, 2016 Share Posted May 25, 2016 13 minutes ago, Dirty Butter said: Glad you were able to fix it yourself. That's what Al meant when he said you would have to change the grid size to fit the larger images. Yeah, I got that bit at the end, did not read properly the post at first glance. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.