{"id":3990134,"date":"2013-08-03T09:41:52","date_gmt":"2013-08-03T09:41:52","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/lost-formattingcss-on-site\/"},"modified":"2016-08-21T03:34:32","modified_gmt":"2016-08-21T03:34:32","slug":"lost-formattingcss-on-site","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/lost-formattingcss-on-site\/","title":{"rendered":"Lost formatting\/CSS on site"},"content":{"rendered":"<p>www.zerogravitygym.com<\/p>\n<p>I tried to set up a child theme so I could do some customization on my site (which has been perfectly stable for the month-plus since I built it) but when I activated it, suddenly all the formatting was gone. Not knowing what was happening, I reactivated the theme I&#8217;d been using&#8230;but when I did so there wasn&#8217;t any formatting STILL. <\/p>\n<p>The theme I use is unsupported here, so I tried activating twenty twelve, just to troubleshoot. Same issue. No formatting. My page now begins with *\/ and then proceeds with all the unformatted content, no matter what theme I choose.<\/p>\n<p>Here&#8217;s what I did today:<\/p>\n<p>1) I used my FTP client to add a directory for a child theme.<br \/>\n2) I added a style.css file to the child theme directory.<br \/>\n3) I saw my theme but it was broken and missing a template.<br \/>\n4) I uploaded template.css to the child theme directory.<br \/>\n5) I realized it was supposed to be the php file, so did the silly simple thing and simply resaved my local css file as a php and replaced it in the child theme directory.<br \/>\n6) The child theme was available to me, so I activated it.<br \/>\n7) I viewed the site and the formatting was gone.<br \/>\n8) While troubleshooting, I reactivated my original theme, but the formatting was still gone.<\/p>\n<p>What I didn&#8217;t do was modify any files in any directories other than the new child theme, with one exception. I overwrote the style.css file in my main theme, just in case it had somehow become corrupted. I&#8217;ve triple checked and the correct file is up there.<\/p>\n","protected":false},"template":"","class_list":["post-3990134","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3990134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3990134\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3990134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}