Browse Source

init carol

windhamdavid 3 years ago
commit
76382425e1
3 changed files with 105 additions and 0 deletions
  1. 11 0
      functions.php
  2. BIN
      screenshot.png
  3. 94 0
      style.css

+ 11 - 0
functions.php

@@ -0,0 +1,11 @@
+<?php
+
+function fht_enqueue_styles() { 
+  wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
+}
+add_action( 'wp_enqueue_scripts', 'fht_enqueue_styles' );
+
+function fht_fontkit_name(){ ?>
+  <link rel="stylesheet" href="https://use.typekit.net/sem4mxq.css"> <?php
+};
+add_action('wp_head', 'fht_fontkit_name');

BIN
screenshot.png


+ 94 - 0
style.css

@@ -0,0 +1,94 @@
+/*
+ Theme Name:   Carol
+ Author:       David A. Windham
+ Author URI:   https://davidawindham.com
+ Template:     Divi
+ Version:      2020.1
+*/
+
+/*
+@import url("../Divi/style.css");
+*/
+
+/****************************************************************
+Moved to using a sub-theme of Divi
+*****************************************************************/
+
+.et_pb_text_0 h5 {
+  font-family: alana, sans-serif !important;
+  color: #000000 !important;
+}
+
+#page-container {
+  width: 100% !important;
+  max-width: 9999px !important;
+}
+
+#page-container #main-header {
+  width: 100% !important;
+  max-width: 9999px !important;
+}
+
+#page-container .container {
+  width: 100% !important;
+  max-width: 9999px !important;
+}
+
+#page-container #top-header {
+  width: 100% !important;
+  max-width: 9999px !important;
+}
+
+/****************************************************************
+Single blog posts no sidebar
+*****************************************************************/
+#page-container .container {
+  width: 90% !important;
+  max-width: 1200px !important;
+}
+@media (min-width: 981px){
+#left-area {
+    width: 100%;
+    padding: 23px 0px 0px !important;
+    float: none !important;
+}
+}
+#main-content .container:before {
+  background: none;
+}
+#sidebar {display:none;}
+
+/****************************************************************
+Stuff that was in Divi -> Theme Options -> General -> Custom CSS
+*****************************************************************/
+
+#footer-widgets {
+  display:none;
+}
+
+#logo {
+  max-height: 60px !important;
+}
+
+#top-menu li > a {
+  font-size: 17px;
+}
+
+.et_pb_text { 
+  font-size: 18px!important;
+}
+
+.et_pb_slider .et_pb_slide {
+  height: 500px;
+}
+.et_pb_slider_fullwidth_off .et_pb_container {
+  min-height: 200px !important;
+}
+
+.et_pb_bg_layout_light .et_pb_post p {
+  font-size: 20px;
+}
+
+.page-id-495 .et_pb_section {
+  padding: 0;
+}