{"id":10550317,"date":"2018-08-02T08:16:59","date_gmt":"2018-08-02T08:16:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/nice-simple-24\/"},"modified":"2018-08-02T08:19:09","modified_gmt":"2018-08-02T08:19:09","slug":"nice-simple-24","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/nice-simple-24\/","title":{"rendered":"Nice &amp; simple"},"content":{"rendered":"<p>Works great, thanks a lot.<\/p>\n<p>One thing though, somehow within my theme the alignment to the left didn&#8217;t work out. <code>margin-left: 0 !important;<\/code> wasn&#8217;t enough, it seems. I fixed it by adding <code>padding-left: 0! important;<\/code> to <code>.collapsed-archives &gt; ul { }<\/code><\/p>\n<p>Also made a modification to add a fade\/transition effect to the dropdown.<br \/>\nFor those interested it&#8217;s just some addition the last few lines of code:<\/p>\n<pre><code>\/* Toggled content *\/\n.collapsed-archives input ~ ul {\n\tdisplay: inline-block;\n    opacity: 0;\n    transition: opacity 0s linear 0s;\n    -webkit-transition: opacity 0s linear 0s;\n}\n.collapsed-archives input:checked ~ ul {\n    opacity: 1;\n    display: block;\n    transition: opacity 0.5s linear 0s;\n    -webkit-transition: opacity 0.5s linear 0s;\n}<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-10550317","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10550317","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\/10550317\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10550317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}