changing the owl carousel to use metaslider on the front page
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 21 Aug 2019 16:40:27 +0000 (12:40 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 21 Aug 2019 16:40:27 +0000 (12:40 -0400)
style.css
template_home.php

index 2b93ad8..721d785 100644 (file)
--- a/style.css
+++ b/style.css
@@ -2,7 +2,7 @@
 Theme Name: BayMillsNew Glm\r
 Theme URI: http://Baymillscasinos.com/\r
 Description: The BayMills WordPress theme that graced version 1.0 to version 2.9, based on the famous <a href="http://Baymillscasinos.com/">BayMills</a>.\r
-Version: 1.0.3\r
+Version: 1.0.4\r
 Author: BayMills\r
 Author URI: http://Baymillscasinos.com/\r
 Text Domain: BayMills\r
index 7915c25..394c069 100644 (file)
@@ -6,24 +6,29 @@
 get_header(); the_post(); ?>\r
        <!-- BEGIN: banner wrapper -->\r
        <section id="bannerWrapper">\r
-        <ul id="owl-one" class="owl-carousel">\r
-          <?php if( have_rows('banner_slider') ): while( have_rows('banner_slider') ): the_row(); ?>\r
-            <li style="background-image: url(<?php the_sub_field('slider_image');  ?>);"> \r
-                <!-- BEGIN: banner area -->\r
-                <article class="bannerArea">\r
-                    <div class="container">\r
-                        <div class="row">\r
-                            <aside class="overlay col-xs-12 col-sm-8 col-md-6 col-lg-6">\r
-                                <?php the_sub_field('slider_description');  ?>\r
-                            </aside>\r
-                        </div>\r
-                    </div>\r
-                </article>\r
-                <!-- END: banner area --> \r
-            </li>\r
-          <?php endwhile; endif; ?>   \r
-        </ul>\r
-               <?php\r
+               <style>\r
+                       .nivo-caption{\r
+                               position: absolute;\r
+                               bottom: 50% !important;\r
+                               left: 50px !important;\r
+                               transform: translateY( 50%);\r
+                               text-align: left;\r
+                               font-family: 'Raleway' !important;\r
+                               background: rgba(0,0,0,.85) !important;\r
+                               width: auto !important;\r
+                               pointer-events: none;\r
+                       }\r
+                       .nivo-caption h1 {\r
+                               font-size: 45px;\r
+                       }\r
+                       .nivo-caption p{\r
+                               font-size: 17px !important;\r
+                       }\r
+               </style>\r
+               <?php \r
+                       //echo do_shortcode('[metaslider id="1714"]'); \r
+                       echo do_shortcode('[metaslider id="2328"]'); \r
+       \r
                                        /*\r
                <!-- BEGIN: overlapfrom -->\r
                <article class="overlapfrom">\r