Import C|net Content Solutions code and keep formatting
-
I can import the information, but my theme is overriding the styling from c|net. If importing into a static html page, everything is fine, but wordpress is changing the output of the script. Sample Script below.
<div id="ccs-inline-content"> </div> <script type='text/javascript'> var ccs_cc_args = ccs_cc_args || []; // test ccs_cc_args.push(['mf', 'sony']); ccs_cc_args.push(['pn', 'KDL75W850C']); ccs_cc_args.push(['lang', 'EN']); ccs_cc_args.push(['market', 'US']); (function () { var o = ccs_cc_args; o.push(['_SKey', 'd9283444']); o.push(['_ZoneId', '938cdd9c75']); var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true; sc.src = ('https:' == document.location.protocol ? 'https://' : 'https://') + 'cdn.cnetcontent.com/jsc/h.js'; var n = document.getElementsByTagName('script')[0]; n.parentNode.insertBefore(sc, n); })(); </script>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Import C|net Content Solutions code and keep formatting’ is closed to new replies.