HellGamer Posted August 7, 2014 Share Posted August 7, 2014 Hi everyone, I hope somebody can point me in the right direction to fix this. My client has chosen Simplio theme for his new site, all is working ok except in some places our browsers seem to ignore some tags. For instance this code from product.tpl produces the 'Data sheet' tab {foreach from=$features item=feature} {if isset($feature.value)} <li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li> {/if} {/foreach} It should create a bullet type list and indeed the generated source is correct as far as I can see <li><span>Aftercare</span> Dry cleaning recommended. Smaller sizes may be machine or hand washed with great care. Wash cool, do not ring, do not tumble dry, do not use bleach, do not iron. Wash separately, brush to restore pile/fur before totally dry.</li> <li><span>Length of fur</span> approximately 1.2" (3cm)</li> <li><span>Lining/Backing colour</span> Grey</li> If I paste the source sample into here it works fine: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_list_test But on the product page it does not. It is the same for product descriptions, bold, underline, etc most tags just get ignored. Here is the product page, check the data Sheet does it render properly for you? http://www.cowhide-footstool.com/faux-fur-throws/8-grey-wolf-faux-fur-throw.html Any ideas whats going on, this is driving me mad. Thanks Ken Link to comment Share on other sites More sharing options...
dioniz Posted August 7, 2014 Share Posted August 7, 2014 You need to make changes to css file. For example you have this code in global.css: ol, ul { list-style: none outside none; } That's why your list is not displaying bullets which is good for some other part of site So to add bullets to your data sheet you need to add some code to global.css or product.css like this: #more_info_sheets ul{ list-style:disc; } Link to comment Share on other sites More sharing options...
HellGamer Posted August 7, 2014 Author Share Posted August 7, 2014 Thnx Dioniz, Please tell me where you found ol, ul { list-style: none outside none; } I can't find it in any of the css Link to comment Share on other sites More sharing options...
dioniz Posted August 7, 2014 Share Posted August 7, 2014 It's in youtheme/css/global.css usually but can't say for your template because i can't see it Link to comment Share on other sites More sharing options...
HellGamer Posted August 7, 2014 Author Share Posted August 7, 2014 ol, ul { list-style: none; } Found that in global and removed it, lists and underline work ok now, just need to find the same for bold if I can and it will be sorted, thnx Dioniz for pointing me in the right direction. Why anyone would write a theme and disable lots of formatting functions like bold, underline etc is beyond me and the theme was not free! Link to comment Share on other sites More sharing options...
HellGamer Posted August 8, 2014 Author Share Posted August 8, 2014 .block .products-block .product-description { margin-bottom: 14px; display: none; global.css in the theme css folder line 2325 display:none stops bold # it out and all is well, SOLVED, case closed. Thanks Link to comment Share on other sites More sharing options...
dioniz Posted August 8, 2014 Share Posted August 8, 2014 Glad you solved it. I'm marking this thread solved Link to comment Share on other sites More sharing options...
Recommended Posts