{"id":155,"date":"2016-02-11T09:40:21","date_gmt":"2016-02-11T17:40:21","guid":{"rendered":"http:\/\/jasonflaherty.com\/blog\/?p=155"},"modified":"2016-02-11T09:40:21","modified_gmt":"2016-02-11T17:40:21","slug":"editing-dreamweaver-templates-and-css-style-issues","status":"publish","type":"post","link":"https:\/\/jasonflaherty.com\/blog\/2016\/02\/11\/editing-dreamweaver-templates-and-css-style-issues\/","title":{"rendered":"Editing Dreamweaver Templates and CSS Style Issues"},"content":{"rendered":"<p><em>*Note: is is for .php templates&#8230;<\/em><\/p>\n<p>When a content editor is using Dreamweaver templates to edit the static website you are developing, it is always a chore (until now!) to have the design view show all of the editable content areas when css might be used to hide a block for example. The key I have found is to simply make the stylesheet only render on page load.<\/p>\n<p>For example use:<\/p>\n<pre class=\"lang:default decode:true\">&lt;?php echo '&lt;link rel=\"stylesheet\" href=\"..\/css\/yourstyle.min.css\"&gt;'; ?&gt;<\/pre>\n<p>&#8230;rather than just using the standard:<\/p>\n<pre class=\"lang:default decode:true\">&lt;link rel=\"stylesheet\" href=\"..\/css\/yourstyle.min.css\"&gt;<\/pre>\n<p>In design view the content editor will only be able to focus on their content since all the css will be turned &#8220;off&#8221; in effect.<\/p>\n<p>Hope that helps someone.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><em>*Note: is is for .php templates&#8230;<\/em><\/p>\n<p class=\"excerpt-link\"><a href=\"https:\/\/jasonflaherty.com\/blog\/2016\/02\/11\/editing-dreamweaver-templates-and-css-style-issues\/\">&sim;&nbsp;Continue Reading&nbsp;&sim;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[12,51],"tags":[74,73],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5OfD9-2v","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts\/155"}],"collection":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/comments?post=155"}],"version-history":[{"count":1,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts\/155\/revisions"}],"predecessor-version":[{"id":156,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts\/155\/revisions\/156"}],"wp:attachment":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/media?parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/categories?post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/tags?post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}