Changeset 161177
- Timestamp:
- 01/25/2022 12:50:22 PM (4 years ago)
- Location:
- dental-insight/0.2.9
- Files:
-
- 5 edited
- 1 copied
-
. (copied) (copied from dental-insight/0.2.8)
-
assets/js/dental-insight-custom.js (modified) (1 diff)
-
footer.php (modified) (1 diff)
-
inc/customizer.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dental-insight/0.2.9/assets/js/dental-insight-custom.js
r153203 r161177 32 32 jQuery(".preloader").delay(2000).fadeOut("slow"); 33 33 }); 34 35 jQuery(window).scroll(function(){ 36 if (jQuery(this).scrollTop() > 100) { 37 jQuery('.scrollup').addClass('is-active'); 38 } else { 39 jQuery('.scrollup').removeClass('is-active'); 40 } 41 }); 42 43 jQuery( document ).ready(function() { 44 jQuery('#dental-insight-scroll-to-top').click(function (argument) { 45 jQuery("html, body").animate({ 46 scrollTop: 0 47 }, 600); 48 }) 49 }) -
dental-insight/0.2.9/footer.php
r146341 r161177 14 14 </div> 15 15 </div> 16 <?php get_template_part( 'template-parts/footer/site', 'info' ); ?> 16 <?php get_template_part( 'template-parts/footer/site', 'info' ); ?> 17 <?php if( get_theme_mod( 'dental_insight_scroll_enable',true) != '') { ?> 18 <div class="scroll-top"> 19 <button type=button id="dental-insight-scroll-to-top" class="scrollup"><i class="fas fa-chevron-up"></i></button> 20 </div> 21 <?php }?> 17 22 </footer> 18 23 <?php wp_footer(); ?> -
dental-insight/0.2.9/inc/customizer.php
r158925 r161177 123 123 'type' => 'toggle', 124 124 'settings' => 'dental_insight_theme_loader', 125 ) ) ); 126 127 $wp_customize->add_setting( 'dental_insight_scroll_enable', array( 128 'default' => true, 129 'transport' => 'refresh', 130 'sanitize_callback' => 'dental_insight_sanitize_checkbox', 131 ) ); 132 $wp_customize->add_control( new Dental_Insight_Toggle_Control( $wp_customize, 'dental_insight_scroll_enable', array( 133 'label' => esc_html__( 'Show Scroll Top', 'dental-insight' ), 134 'section' => 'dental_insight_theme_settings', 135 'type' => 'toggle', 136 'settings' => 'dental_insight_scroll_enable', 125 137 ) ) ); 126 138 -
dental-insight/0.2.9/readme.txt
r158925 r161177 5 5 Requires PHP: 7.2 6 6 Tested up to: 5.8 7 Stable tag: 0.2. 87 Stable tag: 0.2.9 8 8 License: GNU General Public License v3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 54 54 -- Added Width Settings. 55 55 56 = 0.2.9 = 57 -- Added Scroll Top. 58 56 59 == Resources == 57 60 58 Dental Insight WordPress Theme, Copyright 202 1pewilliams61 Dental Insight WordPress Theme, Copyright 2022 pewilliams 59 62 Dental Insight is distributed under the terms of the GNU GPL 60 63 -
dental-insight/0.2.9/style.css
r158925 r161177 5 5 Author URI: https://www.ovationthemes.com/ 6 6 Description: Dental Insight Theme is specially designed for dentists, dental practices, Dental Insights, dental hygienists, medicine, providers, medical stores, orthodontists, medical facilities, lab, therapy, healing, health clinics, Sanitize sanitization, cleaning, radiography, laboratory, air purifier, doctors, hospital, pharma, dental implants, nursing, dispensary, endodontic, oral health care surgery websites and any other health and medical organization. The theme’s design is flawless and eye-catching, elegant but luxurious. Showcase your work and place of work online with this modern theme. It is packed with a lot of features to help you showcase a perfect professional website. It is SEO-friendly which will index your website soon on major search engines. The responsive layout makes it mobile-friendly too so your visitors can contact easily in case of urgent need. It is also translation-ready with RTL layout support important for international patients. You can add shortcodes to further increase the functionality of your website. This expert theme is cleanly coded to provide fast page load times to your visitors. For the ease of interaction a call to action button is provided. Use social media integration and link all your social media pages to popularize your work. The testimonial section will let your visitor’s comment on your work. 7 Version: 0.2. 87 Version: 0.2.9 8 8 Requires at least: 5.0 9 9 Tested up to: 5.8 … … 14 14 Tags: wide-blocks, block-styles, one-column, two-columns, left-sidebar, right-sidebar, grid-layout, custom-colors, custom-background, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, full-width-template, threaded-comments, theme-options, food-and-drink, portfolio, e-commerce 15 15 16 Dental Insight WordPress Theme, Copyright 202 1pewilliams16 Dental Insight WordPress Theme, Copyright 2022 pewilliams 17 17 Dental Insight is distributed under the terms of the GNU GPL 18 18 */ … … 620 620 } 621 621 622 /*------------Scroll-Top------------------*/ 623 .scrollup { 624 position: fixed; 625 top: 0; 626 right: 25px; 627 width: 42px; 628 height: 42px; 629 line-height: 42px; 630 padding: 0; 631 font-size: 20px; 632 outline: none; 633 border-bottom-left-radius: 50%; 634 border-top-left-radius: 50%; 635 border-bottom-right-radius: 50%; 636 box-shadow: 0 0 12px 0 rgba(0, 0, 0, .2); 637 -webkit-transition: .9s; 638 transition: .9s; 639 z-index: 99; 640 visibility: hidden; 641 opacity: 0; 642 } 643 644 .scrollup i { 645 display: inline-block; 646 -webkit-transition: all .5s; 647 -o-transition: all .5s; 648 transition: all .5s; 649 } 650 651 .scrollup.is-active { 652 top: 98%; 653 -webkit-transform: translateY(-98%); 654 transform: translateY(-98%); 655 opacity: 1; 656 visibility: visible; 657 } 658 659 .scrollup.is-active:hover, 660 .scrollup.is-active:focus { 661 color: #000; 662 background: #fe8086; 663 transform: translateY(-98%) rotate(-45deg); 664 -webkit-transform: translateY(-98%) rotate(-45deg); 665 -moz-transform: translateY(-98%) rotate(-45deg); 666 -o-transform: translateY(-98%) rotate(-45deg); 667 -ms-transform: translateY(-98%) rotate(-45deg); 668 } 669 670 .scrollup.is-active:hover i, 671 .scrollup.is-active:focus i { 672 transform: translateY(0) rotate(45deg); 673 -webkit-transform: translateY(0) rotate(45deg); 674 -moz-transform: translateY(0) rotate(45deg); 675 -o-transform: translateY(0) rotate(45deg); 676 -ms-transform: translateY(0) rotate(45deg); 677 } 678 622 679 /*--------- Category Section--------- */ 623 680
Note: See TracChangeset
for help on using the changeset viewer.