huggettm Posted March 16, 2018 Share Posted March 16, 2018 Hi, can someone point me in the right direction to change the size of the thumbnail text in category view and latest products? Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 16, 2018 Share Posted March 16, 2018 In the file cubecart.default.css, add: .product_list h3 { font-size: 1.25rem; } Adjust the font size to suit. The rem is a size that is a scale factor to the original font size used on the page - which, for Foundation, is not declared, but rather has the browser use its default font size as set in the browser's Options page. Quote Link to comment Share on other sites More sharing options...
MattMatt Posted April 4, 2018 Share Posted April 4, 2018 @bsmither - Does this apply to v6 as well? As doesn't seem to work when i try I'm looking to remove the text almost altogether on the sub category page (see carbonperfection.com) but struggling with it... Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 4, 2018 Share Posted April 4, 2018 Depending how aggressive your browser is at using its internal cached copies of page resources, you may need to force your browser to fetch fresh copies of these files. CTRL-F5 is usually how this is done. Quote Link to comment Share on other sites More sharing options...
MattMatt Posted April 4, 2018 Share Posted April 4, 2018 @bsmither Doesn't seem to be working? http://www.carbonperfection.com/automotive-products.html Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 4, 2018 Share Posted April 4, 2018 I am looking at the page. I see small lettering serving as captions to the images -- some under and most to the right. What is your goal here? Quote Link to comment Share on other sites More sharing options...
MattMatt Posted April 4, 2018 Share Posted April 4, 2018 Rid the site of those little bits of text... they just dont sit right and feel they'd look better without them! Tried your suggestion above and putting them to .product_list h3 { font-size: 0.01rem; } but seemingly doesn't make them any smaller/disappear Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 4, 2018 Share Posted April 4, 2018 (edited) That code is for the product (short) description shown in product lists (homepage, categories, sale items, and search results). Apart from editing the skin template code, there is no specific CSS selector to affect a change to the subcat captions. In content.category.php: From: <a href="{$subcat.url}" title="{$subcat.cat_name}"><small>{$subcat.cat_name}</small></a> To: {* <a href="{$subcat.url}" title="{$subcat.cat_name}"><small>{$subcat.cat_name}</small></a> *} You can try: .category_wrapper #main_content li small { display: none; } But this could! target more than just the image captions. Edited April 4, 2018 by bsmither Quote Link to comment Share on other sites More sharing options...
MattMatt Posted April 4, 2018 Share Posted April 4, 2018 Made the change... and still there Cleared caches and checked on another device Any more ideas Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 4, 2018 Share Posted April 4, 2018 Making changes to a skin template now probably requires that the template rendering engine's cache be cleared. (Admin, Maintenance, Rebuild tab, Clear Cache.) I added more to my response, so please refresh this forum page. Quote Link to comment Share on other sites More sharing options...
MattMatt Posted April 4, 2018 Share Posted April 4, 2018 Added - .category_wrapper #main_content li small { display: none; } To the cubecart.default.css but not made a change either... i''m completely lost at this point Quote Link to comment Share on other sites More sharing options...
MattMatt Posted April 4, 2018 Share Posted April 4, 2018 23 minutes ago, bsmither said: Making changes to a skin template now probably requires that the template rendering engine's cache be cleared. (Admin, Maintenance, Rebuild tab, Clear Cache.) I added more to my response, so please refresh this forum page. Tried that too Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 4, 2018 Share Posted April 4, 2018 This file is missing: carbonperfection.com/cache/css.foundation_20180403233936.css This must be new to CC620 - I have not seen page resources end up in the cache. Quote Link to comment Share on other sites More sharing options...
MattMatt Posted April 4, 2018 Share Posted April 4, 2018 i wondered why my page just pooped itself. Restored foundation.css to the right place but doesnt look like its worked... *sigh* Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 4, 2018 Share Posted April 4, 2018 Definitely new to CC620 (in beta). I do not yet know how to get CubeCart to rebuild the skin's resources. Quote Link to comment Share on other sites More sharing options...
MattMatt Posted April 4, 2018 Share Posted April 4, 2018 Restored the folder for foundation and copied across the file changes... i thought i'd managed to get it working.. albeit it's killed the page for anyone new to the page... Although on my machine.. the changes i wanted have worked. Any ideas? would rather not have to rebuild the site *sigh* 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.