palmerstoneroad Posted October 16, 2014 Share Posted October 16, 2014 Hi,I want to use an HTML formatted tables in Product Description and I am tryin to add the HTML through the 'Source Code' button.The Table have CSS rules in a separate css file and I am trying to get the CSS specs through a<link rel=stylesheet href="http://www.site.com/file.css" type="text/css" media=screen> instruction.Still, the 'Source Code' window keeps stripping the link rel tag out.What do you suggest for keeping the entire HTML code in Product Description?thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted October 17, 2014 Share Posted October 17, 2014 I did several tests but so far could never get the link rel tag work, I think the strip is embedded in the minified tinymce. Hopefully someone managed to Link to comment Share on other sites More sharing options...
prestatent Posted October 17, 2014 Share Posted October 17, 2014 (edited) I have had something similar on CMS pages if I code an img link into the page it seems to strip out the image name. I've noticed that turning HTMLPurifier off seems to resolve this. You may want to try this - Preferences->Use HTMLPurifier Library. Another way may be to include your styling information in Modules->Theme Editor->Custom Code. Then just apply classes or ids to your html. Cheers Edited October 17, 2014 by prestatent (see edit history) Link to comment Share on other sites More sharing options...
palmerstoneroad Posted October 17, 2014 Author Share Posted October 17, 2014 Hi, I have turned off HTMLPurifier Library I got no result. Not able to locate Modules->Theme Editor->Custom Code as I have no Theme Editor in the Modules menu. Using PS 1.6. Can you help locating it? thanks! Link to comment Share on other sites More sharing options...
prestatent Posted October 17, 2014 Share Posted October 17, 2014 Hi My apologies, Theme Editor is a module installed as part of my theme. Another solution to your problem would be to edit the global.css file within your theme folder, to include the css your require. This should get picked up on all pages. 1 Link to comment Share on other sites More sharing options...
NemoPS Posted October 18, 2014 Share Posted October 18, 2014 Indeed, editing global.css or creating a small module is the only way I believe 1 Link to comment Share on other sites More sharing options...
Recommended Posts