H1 through h6 now clear:both by default, also on ADMIN side!
authorLaury GvR <laury@gaslightmedia.com>
Wed, 27 May 2015 13:23:45 +0000 (09:23 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 27 May 2015 13:23:45 +0000 (09:23 -0400)
root/front-page.php
root/scss/_defaults.scss
root/scss/admin/tinymce.css [new file with mode: 0644]

index 079b641..853b913 100644 (file)
@@ -4,7 +4,7 @@
         <?php get_template_part('parts/slide-show');?>
     </div>
     <div id="content-wrapper">
-         <div class="row">
+        <div class="row">
             <?php
             get_template_part('parts/glm-blocks');
             ?>
index 9ce5ae4..78383e3 100644 (file)
@@ -2,7 +2,9 @@
 //  site. Make sure this is placed before _structures (if that is still the
 //  primary css file).
 
-
+h1,h2,h3,h4,h5,h6 {
+    clear: both;
+}
 
 /* PLUGINS */
 /* Nextgen */
diff --git a/root/scss/admin/tinymce.css b/root/scss/admin/tinymce.css
new file mode 100644 (file)
index 0000000..24e0f6a
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+GaslightMedia, all rights reserved.
+*/
+/* 
+    Created on : May 22, 2015, 11:19:44 AM
+    Author     : laury
+*/
+ /*
+ * To make the TINYMCE editor in wordpress reflect some of the default styles
+ * we have active on all our themes, thus leading to a more true WYSIWYG
+ * experience.
+ */
+#tinymce h1 {
+    clear: both;
+}
+
+#tinymce h2 {
+    clear: both;
+}
+
+#tinymce h3 {
+    clear: both;   
+}
+
+#tinymce h4 {
+    clear: both;   
+}
+
+#tinymce h5 {
+    clear: both;   
+}
+
+#tinymce h6 {
+    clear: both;   
+} 
\ No newline at end of file