Make WordPress Themes

Changeset 214321


Ignore:
Timestamp:
01/17/2024 09:06:16 AM (23 months ago)
Author:
themedropbox
Message:

New version of Fitness Life Coach - 1.2

Location:
fitness-life-coach/1.2
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • fitness-life-coach/1.2/functions.php

    r210927 r214321  
    1616        wp_enqueue_style( 'fitness-life-coach-style-parent', get_template_directory_uri() . '/style.css' );
    1717        wp_enqueue_style( 'fitness-life-coach-style', get_stylesheet_directory_uri() . '/style.css', array( 'fitness-life-coach-style-parent' ), '1.0.0' );
     18
    1819        // Theme Customize CSS.
     20        require get_parent_theme_file_path( 'inc/extra_customization.php' );
     21        wp_add_inline_style( 'fitness-life-coach-style',$fitness_insight_custom_style );
     22
    1923        require get_theme_file_path( 'inc/extra_customization.php' );
    2024        wp_add_inline_style( 'fitness-life-coach-style',$fitness_insight_custom_style );
     
    162166    $wp_customize->remove_setting( 'fitness_insight_mid_section_icon4' );
    163167    $wp_customize->remove_control( 'fitness_insight_mid_section_icon4' );
     168
     169    $wp_customize->remove_setting('fitness_insight_footer_text');
     170    $wp_customize->remove_control('fitness_insight_footer_text');
    164171   
    165     $wp_customize->remove_setting('fitness_insight_front_button_border_radius');
    166     $wp_customize->remove_control('fitness_insight_front_button_border_radius');
    167 
    168     $wp_customize->remove_setting('fitness_insight_button_border_radius');
    169     $wp_customize->remove_control('fitness_insight_button_border_radius');
     172    $wp_customize->remove_setting('fitness_insight_slider_excerpt_show_hide');
     173    $wp_customize->remove_control('fitness_insight_slider_excerpt_show_hide');
     174
    170175}
    171176add_action( 'customize_register', 'fitness_life_coach_customize_register', 11 );
     
    199204    )));
    200205
    201     // button setting
    202     $wp_customize->add_setting('fitness_life_coach_front_button_border_radius',array(
    203         'default'=> 0,
    204         'transport' => 'refresh',
    205         'sanitize_callback' => 'fitness_insight_sanitize_integer'
    206     ));
    207     $wp_customize->add_control(new Fitness_Life_Coach_Slider_Custom_Control( $wp_customize, 'fitness_life_coach_front_button_border_radius',array(
    208         'label' => esc_html__( 'Border Radius','fitness-insight' ),
    209         'section'=> 'fitness_insight_button_options',
    210         'settings'=>'fitness_life_coach_front_button_border_radius',
    211         'input_attrs' => array(
    212             'reset'            =>0,
    213             'step'             => 1,
    214             'min'              => 0,
    215             'max'              => 30,
    216         ),
    217         'priority'       => 3,
    218     )));
    219     $wp_customize->add_setting('fitness_life_coach_button_border_radius',array(
    220         'default'=> 0,
    221         'transport' => 'refresh',
    222         'sanitize_callback' => 'fitness_insight_sanitize_integer'
    223     ));
    224     $wp_customize->add_control(new Fitness_Life_Coach_Slider_Custom_Control( $wp_customize, 'fitness_life_coach_button_border_radius',array(
    225         'label' => esc_html__( 'Border Radius','fitness-life-coach' ),
    226         'section'=> 'fitness_insight_button_options',
    227         'settings'=>'fitness_life_coach_button_border_radius',
    228         'input_attrs' => array(
    229             'reset'            => 0,
    230             'step'             => 1,
    231             'min'              => 0,
    232             'max'              => 30,
    233         ),
    234     )));
     206    //slider
     207    $wp_customize->add_setting(
     208        'fitness_life_coach_slider_excerpt_show_hide',
     209        array(
     210            'type'                 => 'option',
     211            'capability'           => 'edit_theme_options',
     212            'theme_supports'       => '',
     213            'default'              => '1',
     214            'transport'            => 'refresh',
     215            'sanitize_callback'    => 'fitness_insight_callback_sanitize_switch',
     216        )
     217    );
     218    $wp_customize->add_control(
     219        new Fitness_Life_Coach_Customizer_Customcontrol_Switch(
     220            $wp_customize,
     221            'fitness_life_coach_slider_excerpt_show_hide',
     222            array(
     223                'settings'        => 'fitness_life_coach_slider_excerpt_show_hide',
     224                'section'         => 'fitness_insight_slider_section',
     225                'label'           => __( 'Show Hide excerpt', 'fitness-life-coach' ),               
     226                'choices'         => array(
     227                    '1'      => __( 'On', 'fitness-life-coach' ),
     228                    'off'    => __( 'Off', 'fitness-life-coach' ),
     229                ),
     230            )
     231        )
     232    );
    235233
    236234    // About Us Section
     
    285283        'section' => 'fitness_life_coach_about_us_section',
    286284    ));
     285
     286    //footer
     287    $wp_customize->add_setting('fitness_life_coach_footer_text',array(
     288        'default'   => 'Life Coach WordPress Theme',
     289        'sanitize_callback' => 'sanitize_text_field'
     290    ));
     291    $wp_customize->add_control('fitness_life_coach_footer_text',array(
     292        'label' => esc_html__('Copyright Text','fitness-life-coach'),
     293        'section'   => 'fitness_insight_footer_copyright',
     294        'type'      => 'textarea'
     295    ));
     296    $wp_customize->selective_refresh->add_partial( 'fitness_life_coach_footer_text', array(
     297        'selector' => '.site-info a',
     298        'render_callback' => 'fitness_insight_customize_partial_fitness_life_coach_footer_text',
     299    ) );
    287300}
    288301add_action( 'customize_register', 'fitness_life_coach_customize' );
     
    296309}
    297310add_action(  'wp_enqueue_scripts', 'fitness_life_coach_enqueue_comments_reply' );
     311
     312// Footer Text
     313function fitness_life_coach_copyright_link() {
     314    $footer_text = get_theme_mod('fitness_insight_footer_text', esc_html__('Life Coach WordPress Theme', 'fitness-life-coach'));
     315    $credit_link = esc_url('https://www.ovationthemes.com/wordpress/free-life-coach-wordpress-theme/');
     316
     317    echo '<a href="' . $credit_link . '" target="_blank">' . esc_html($footer_text) . '<span class="footer-copyright">' . esc_html__(' By Ovation Themes', 'fitness-life-coach') . '</span></a>';
     318}
    298319
    299320define('FITNESS_LIFE_COACH_PRO_LINK',__('https://www.ovationthemes.com/wordpress/fitness-coach-wordpress-theme/','fitness-life-coach'));
  • fitness-life-coach/1.2/inc/extra_customization.php

    r209300 r214321  
    22
    33$fitness_insight_custom_style= "";
    4 
    5 // theme-button-color
    6 
    7 $fitness_insight_theme_button_color = get_theme_mod('fitness_insight_theme_button_color');
    8 
    9 if($fitness_insight_theme_button_color != false){
    10 
    11 $fitness_insight_custom_style .='button,input[type="button"],input[type="submit"],.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,button.search-submit,a.added_to_cart.wc-forward,.site-footer .search-form .search-submit,.prev.page-numbers, .next.page-numbers, .page-numbers.current{';
    12 
    13     $fitness_insight_custom_style .='background: '.esc_attr($fitness_insight_theme_button_color).';';
    14 
    15 $fitness_insight_custom_style .='}';
    16 }
    17 
    18 
    19 // theme-button-border-radius
    20 $fitness_life_coach_button_border_radius = get_theme_mod('fitness_life_coach_button_border_radius','0');
    21 
    22 if($fitness_life_coach_button_border_radius != false){
    23 
    24 $fitness_insight_custom_style .='button,input[type="button"],input[type="submit"],.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,button.search-submit,a.added_to_cart.wc-forward,.site-footer .search-form .search-submit,#sidebar input[type="search"], input[type="search"], .prev.page-numbers, .next.page-numbers{';
    25 
    26     $fitness_insight_custom_style .='border-radius: '.esc_attr(
    27 
    28 $fitness_life_coach_button_border_radius).'px;';
    29 
    30 $fitness_insight_custom_style .='}';
    31 }
    32 
    33 //front-page-button-color
    34 $fitness_insight_front_button_color = get_theme_mod('fitness_insight_front_button_color');
    35 
    36 if($fitness_insight_front_button_color != false){
    37 
    38 $fitness_insight_custom_style .='.slider-btn a{';
    39 
    40     $fitness_insight_custom_style .='background: '.esc_attr($fitness_insight_front_button_color).';';
    41 
    42 $fitness_insight_custom_style .='}';
    43 }
    44 
    45 //front-page-button-border-radius
    46 $fitness_life_coach_front_button_border_radius = get_theme_mod('fitness_life_coach_front_button_border_radius','0');
    47 
    48 if($fitness_life_coach_front_button_border_radius != false){
    49 
    50 $fitness_insight_custom_style .='.slider-btn a,.form-horizontal button#submit{';
    51 
    52     $fitness_insight_custom_style .='border-radius: '.esc_attr(
    53 
    54 $fitness_life_coach_front_button_border_radius).'px;';
    55    
    56     $fitness_insight_custom_style .='}';
    57 }
    58 
    59 // logo max height
    60 $fitness_insight_logo_max_height = get_theme_mod('fitness_insight_logo_max_height','100');
    61 
    62 if($fitness_insight_logo_max_height != false){
    63 
    64 $fitness_insight_custom_style .='.custom-logo-link img{';
    65 
    66     $fitness_insight_custom_style .='max-height: '.esc_html($fitness_insight_logo_max_height).'px;';
    67    
    68 $fitness_insight_custom_style .='}';
    69 }
    70 
    71 
    72 // Scroll-top-position
    73 
    74 $fitness_insight_scroll_options = get_theme_mod( 'fitness_insight_scroll_options','right_align');
    75 
    76 if($fitness_insight_scroll_options == 'right_align'){
    77 
    78 $fitness_insight_custom_style .='.scroll-top button{';
    79 
    80     $fitness_insight_custom_style .='';
    81 
    82 $fitness_insight_custom_style .='}';
    83 
    84 }else if($fitness_insight_scroll_options == 'center_align'){
    85 
    86 $fitness_insight_custom_style .='.scroll-top button{';
    87 
    88     $fitness_insight_custom_style .='right: 0; left:0; margin: 0 auto; top:85% !important';
    89 
    90 $fitness_insight_custom_style .='}';
    91 
    92 }else if($fitness_insight_scroll_options == 'left_align'){
    93 
    94 $fitness_insight_custom_style .='.scroll-top button{';
    95 
    96     $fitness_insight_custom_style .='right: auto; left:5%; margin: 0 auto';
    97 
    98 $fitness_insight_custom_style .='}';
    99 }
    1004
    1015 // slider content alignment
     
    1059if($fitness_insight_slider_content_alignment == 'LEFT-ALIGN'){
    10610
    107 $fitness_insight_custom_style .='.carousel-caption{';
     11$fitness_insight_custom_style .='#slider .carousel-caption{';
    10812
    10913    $fitness_insight_custom_style .='text-align:left; right: 40%; left: 15%;';
     
    11418}else if($fitness_insight_slider_content_alignment == 'CENTER-ALIGN'){
    11519
    116 $fitness_insight_custom_style .='.carousel-caption{';
     20$fitness_insight_custom_style .='#slider .carousel-caption{';
    11721
    11822    $fitness_insight_custom_style .='text-align:center; right: 15%; left: 15%;';
     
    12327}else if($fitness_insight_slider_content_alignment == 'RIGHT-ALIGN'){
    12428
    125 $fitness_insight_custom_style .='.carousel-caption{';
     29$fitness_insight_custom_style .='#slider .carousel-caption{';
    12630
    12731    $fitness_insight_custom_style .='text-align:right; right: 15%; left: 40%;';
     
    13236
    13337//sticky-header
    134     if (false === get_option('fitness_insight_sticky_header')) {
    135         add_option('fitness_insight_sticky_header', 'off');
    136     }
    137 
    138     // Define the custom CSS based on the 'fitness_insight_sticky_header' option
    139 
    140     if (get_option('fitness_insight_sticky_header', 'off') !== 'on') {
    141         $fitness_insight_custom_style .= '.fixed_header.fixed {';
    142         $fitness_insight_custom_style .= 'position: static;';
    143         $fitness_insight_custom_style .= '}';
    144     }
    145 
    146     if (get_option('fitness_insight_sticky_header', 'off') !== 'off') {
    147         $fitness_insight_custom_style .= '.fixed_header.fixed {';
    148         $fitness_insight_custom_style .= 'position: fixed; background: #fc3c2a!important; padding: 1rem;';
    149         $fitness_insight_custom_style .= '}';
    150 
    151         $fitness_insight_custom_style .= '.admin-bar .fixed {';
    152         $fitness_insight_custom_style .= ' margin-top: 32px;';
    153         $fitness_insight_custom_style .= '}';
    154     }
    155 
    156 
    157 
    158 //related products
    159 if( get_option( 'fitness_insight_related_product',true) != 'on') {
    160 
    161 $fitness_insight_custom_style .='.related.products{';
    162 
    163     $fitness_insight_custom_style .='display: none;';
    164    
    165 $fitness_insight_custom_style .='}';
     38if (false === get_option('fitness_insight_sticky_header')) {
     39    add_option('fitness_insight_sticky_header', 'off');
    16640}
    16741
    168 if( get_option( 'fitness_insight_related_product',true) != 'off') {
     42// Define the custom CSS based on the 'fitness_insight_sticky_header' option
    16943
    170 $fitness_insight_custom_style .='.related.products{';
    171 
    172     $fitness_insight_custom_style .='display: block;';
    173    
    174 $fitness_insight_custom_style .='}';
     44if (get_option('fitness_insight_sticky_header', 'off') !== 'on') {
     45    $fitness_insight_custom_style .= '.fixed_header.fixed {';
     46    $fitness_insight_custom_style .= 'position: static;';
     47    $fitness_insight_custom_style .= '}';
    17548}
    17649
    177 //text-transform
     50if (get_option('fitness_insight_sticky_header', 'off') !== 'off') {
     51    $fitness_insight_custom_style .= '.fixed_header.fixed {';
     52    $fitness_insight_custom_style .= 'position: fixed; background: #fc3c2a!important; padding: 1rem;';
     53    $fitness_insight_custom_style .= '}';
    17854
    179 $fitness_insight_text_transform = get_theme_mod( 'fitness_insight_menu_text_transform','CAPITALISE');
    180 if($fitness_insight_text_transform == 'CAPITALISE'){
     55    $fitness_insight_custom_style .= '.admin-bar .fixed {';
     56    $fitness_insight_custom_style .= ' margin-top: 32px;';
     57    $fitness_insight_custom_style .= '}';
    18158
    182 $fitness_insight_custom_style .='nav#top_gb_menu ul li a{';
    183 
    184     $fitness_insight_custom_style .='text-transform: capitalize ;';
    185 
    186 $fitness_insight_custom_style .='}';
    187 
    188 }else if($fitness_insight_text_transform == 'UPPERCASE'){
    189 
    190 $fitness_insight_custom_style .='nav#top_gb_menu ul li a{';
    191 
    192     $fitness_insight_custom_style .='text-transform: uppercase ; font-size: 12px;';
    193 
    194 $fitness_insight_custom_style .='}';
    195 
    196 }else if($fitness_insight_text_transform == 'LOWERCASE'){
    197 
    198 $fitness_insight_custom_style .='nav#top_gb_menu ul li a{';
    199 
    200     $fitness_insight_custom_style .='text-transform: lowercase ;';
    201 
    202 $fitness_insight_custom_style .='}';
     59    $fitness_insight_custom_style .= '.page-template-custom-home-page .fixed .gb_nav_menu ul li a:hover {';
     60    $fitness_insight_custom_style .= ' color:#222222';
     61    $fitness_insight_custom_style .= '}';
    20362}
    20463
    205 // woocommerce breadcrumb
    206 if( get_option( 'fitness_insight_woocommerce_enable_breadcrumb',true) != 'on') {
     64// slider button
     65$mobile_button_setting = get_option('fitness_insight_slider_button_mobile_show_hide', '1');
     66$main_button_setting = get_option('fitness_insight_slider_button_show_hide', '1');
    20767
    208 $fitness_insight_custom_style .='.woocommerce-breadcrumb{';
     68$fitness_insight_custom_style .= '#slider .slider-btn {';
    20969
    210     $fitness_insight_custom_style .='display: none;';
    211    
    212 $fitness_insight_custom_style .='}';
     70if ($main_button_setting == 'off') {
     71    $fitness_insight_custom_style .= 'display: none;';
    21372}
    21473
    215 if( get_option( 'fitness_insight_woocommerce_enable_breadcrumb',true) != 'off') {
     74$fitness_insight_custom_style .= '}';
    21675
    217 $fitness_insight_custom_style .='.woocommerce-breadcrumb{';
    218 
    219     $fitness_insight_custom_style .='display: block;';
    220    
    221 $fitness_insight_custom_style .='}';
     76// Add media query for mobile devices
     77$fitness_insight_custom_style .= '@media screen and (max-width: 600px) {';
     78if ($main_button_setting == 'off' || $mobile_button_setting == 'off') {
     79    $fitness_insight_custom_style .= '#slider .slider-btn { display: none; }';
    22280}
     81$fitness_insight_custom_style .= '}';
  • fitness-life-coach/1.2/page-template/custom-home-page.php

    r209300 r214321  
    1616          }
    1717        }
    18          if( !empty($fitness_insight_slide_post) ) :
     18        if( !empty($fitness_insight_slide_post) ) :
    1919        $args = array(
    2020          'post_type' =>array('post','page'),
    21           'post__in' => $fitness_insight_slide_post
     21          'post__in' => $fitness_insight_slide_post,
     22          'ignore_sticky_posts'  => true, // Exclude sticky posts by default
    2223        );
     24
     25        // Check if specific posts are selected
     26        if (empty($fitness_insight_slide_post) && is_sticky()) {
     27            $args['post__in'] = get_option('sticky_posts');
     28        }
     29
    2330        $query = new WP_Query( $args );
    2431        if ( $query->have_posts() ) :
     
    3340          <div class="carousel-caption">
    3441            <h2><?php the_title();?></h2>
    35             <p><?php echo wp_trim_words( get_the_content(),30 );?></p>
     42            <?php if( get_option('fitness_life_coach_slider_excerpt_show_hide',false) != 'off'){ ?>
     43              <p class="slider-excerpt"><?php echo wp_trim_words(get_the_content(), get_theme_mod('fitness_insight_slider_excerpt_count',30) );?></p>
     44            <?php } ?>
    3645            <div class="slider-btn">
    37               <a href="<?php the_permalink(); ?>"><?php esc_html_e('GET STARTED','fitness-life-coach'); ?></a>
     46              <a href="<?php the_permalink(); ?>"><?php echo esc_html(get_theme_mod('fitness_insight_slider_read_more',__('GET STARTED','fitness-life-coach'))); ?></a>
    3847            </div>
    3948          </div>
     
    6978            $fitness_life_coach_args = array(
    7079              'post_type' =>array('page'),
    71               'post__in' => $fitness_insight_about_page
     80              'post__in' => $fitness_insight_about_page,
    7281            );
     82
    7383            $fitness_life_coach_query = new WP_Query( $fitness_life_coach_args );
    7484            if ( $fitness_life_coach_query->have_posts() ) :
     
    118128          $args = array(
    119129            'post_type' =>array('post','page'),
    120             'post__in' => $fitness_insight_post
     130            'post__in' => $fitness_insight_post,
     131            'ignore_sticky_posts'  => true, // Exclude sticky posts by default
    121132          );
     133
     134          // Check if specific posts are selected
     135          if (empty($fitness_insight_post) && is_sticky()) {
     136              $args['post__in'] = get_option('sticky_posts');
     137          }
     138           
    122139          $query = new WP_Query( $args );
    123140          if ( $query->have_posts() ) :
     
    134151                  <div class="classes-content-box">
    135152                    <img src="<?php echo (the_post_thumbnail_url('full')); ?>"/>
    136                     <div class="classes-inner-box">
     153                    <div class="classes-inner-box pl-3">
    137154                      <h4><?php the_title();?></h4>
    138155                      <hr>
  • fitness-life-coach/1.2/readme.txt

    r210927 r214321  
    55Requires PHP: 5.6
    66Tested up to: 6.4
    7 Stable tag: 1.1
     7Stable tag: 1.2
    88License: GNU General Public License v3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    6969    -- Added instructions button in theme documentaion.
    7070
     71= 1.2 =
     72    -- Updated footer text setting.
     73    -- Updated slider to exclude sticky posts by default.
     74    -- Added slider button settings.
     75    -- Added slider excerpt setting.
     76    -- Updated woocommerce css.
     77
    7178Child Theme Changes.
    7279
  • fitness-life-coach/1.2/style.css

    r210927 r214321  
    55Author URI: https://www.ovationthemes.com/
    66Description: Fitness Life Coach is a pre-designed template for a website dedicated to fitness and life coaching. The theme is designed to meet the needs of fitness coaches, personal trainers, gym owners, and anyone else in the health and fitness industry. Fitness Life Coach comes with several features that make it stand out. The theme includes a range of customizable pages and templates that are specifically designed for the fitness industry, such as class schedules, trainer profiles, pricing plans, and testimonials. The theme also includes a blog section, where coaches can share their tips, insights, and stories with their clients and followers. Furthermore, Fitness Life Coach is optimized for mobile devices, ensuring that the website looks great and functions well on smartphones and tablets. This is important as many people now access the internet on their mobile devices, and a website that is not optimized for mobile can lead to a poor user experience and fewer conversions. Fitness Life Coach is also compatible with various plugins that can enhance the website’s functionality. For example, coaches can use plugins to create online booking systems, integrate their social media profiles, and offer online coaching sessions. The theme is also designed with search engine optimization(SEO) in mind. The theme includes various features that make it easier for coaches to optimize their website for search engines, such as custom meta descriptions, alt tags for images, schema markup, etc.
    7 Version: 1.1
     7Version: 1.2
    88Requires PHP: 5.6
    99Tested up to: 6.4
     
    2828    text-transform: uppercase;
    2929}
     30span.entry-author a,.comment-author a,.product_meta a {
     31    text-decoration: underline;
     32}
     33/*color change*/
     34.wc-block-cart__submit-container a,a.added_to_cart.wc-forward,.site-info,.scrollup.is-active:hover, .scrollup.is-active:focus,.wrap_figure,.scrollup,.single-tags a:hover,.prev.page-numbers, .next.page-numbers,.page-numbers.current,button.search-submit,#sidebar .tagcloud a:hover, .site-footer .tagcloud a:hover,.site-footer .search-form .search-submit,.gb_nav_menu ul ul,button, input[type="button"], input[type="submit"],nav.woocommerce-MyAccount-navigation ul li,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce ul.products li.product .onsale, .woocommerce span.onsale,.wp-block-button .wp-block-button__link,.slider-btn a,#slider .carousel-control-next-icon:hover, #slider .carousel-control-prev-icon:hover,.box:hover:before{
     35    background: #fc3c2a;
     36}
     37.top_header .links i.fab.fa-linkedin-in,.wc-block-checkout__actions_row a,a.more-link,a,#Category-section .postbox.smallpostimage:hover h3 a,#sidebar select,#sidebar th,#sidebar td,#sidebar caption,.site-footer .widget-area a:hover,a.showcoupon, .woocommerce-message::before,.page-template-custom-home-page .top_header span i,.top_header .links i,.top_header .links i.fab.fa-facebook-f,.top_header .links i.fab.fa-twitter,.top_header .links i.fab.fa-youtube,.top_header .links i.fab.fa-instagram,.page-template-custom-home-page .site-title a:hover,#slider .carousel-caption h2,.top_header span i,.gb_nav_menu ul li a:active, .page-template-custom-home-page .gb_nav_menu ul li a:hover{
     38    color: #fc3c2a;
     39}
     40.bread_crumb a:hover,.bread_crumb span ,.woocommerce-breadcrumb a:hover{
     41    color:#fc3c2a!important;
     42}
    3043.woocommerce-message {
    3144    border-top-color: #fc3c2a;
    3245}
    33 span.entry-author a,.comment-author a,.product_meta a {
    34     text-decoration: underline;
    35 }
    36 .scrollup {
    37     background: #fc3c2a!important;
    38 }
    39 .single-tags a:hover,.prev.page-numbers, .next.page-numbers,.page-numbers.current,button.search-submit,#sidebar .tagcloud a:hover, .site-footer .tagcloud a:hover,.site-footer .search-form .search-submit,.gb_nav_menu ul ul,button, input[type="button"], input[type="submit"],nav.woocommerce-MyAccount-navigation ul li,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce ul.products li.product .onsale, .woocommerce span.onsale,.wp-block-button .wp-block-button__link,.slider-btn a,#slider .carousel-control-next-icon:hover, #slider .carousel-control-prev-icon:hover,.box:hover:before{
    40     background: #fc3c2a;
    41 }
    42 a.more-link,a,#Category-section .postbox.smallpostimage:hover h3 a,#sidebar select,#sidebar th,#sidebar td,#sidebar caption,.site-footer .widget-area a:hover,a.showcoupon, .woocommerce-message::before,.page-template-custom-home-page .top_header span i,.top_header .links i,.top_header .links i.fab.fa-facebook-f,.top_header .links i.fab.fa-twitter,.top_header .links i.fab.fa-youtube,.top_header .links i.fab.fa-instagram,.page-template-custom-home-page .site-title a:hover,#slider .carousel-caption h2,.top_header span i,.gb_nav_menu ul li a:active, .page-template-custom-home-page .gb_nav_menu ul li a:hover{
    43     color: #fc3c2a;
    44 }
    45 
    46 .gb_nav_menu ul ul a,.prev.page-numbers, .next.page-numbers,.page-numbers.current,button, input[type="button"], input[type="submit"],#sidebar .tagcloud a:hover, .site-footer .tagcloud a:hover,.site-footer .search-form .search-submit,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce ul.products li.product .onsale, .woocommerce span.onsale,.slider-btn a,#slider .carousel-control-next-icon:hover, #slider .carousel-control-prev-icon:hover,.box .box-content,.box-content h4 a,nav.woocommerce-MyAccount-navigation ul li a{
     46a.added_to_cart.wc-forward,.slider-btn a:hover,.page-template-custom-home-page .site-title, .page-template-custom-home-page .site-title a, .page-template-custom-home-page .logo h1 a, .page-template-custom-home-page .logo p,.gb_nav_menu ul ul a,.prev.page-numbers, .next.page-numbers,.page-numbers.current,button, input[type="button"], input[type="submit"],#sidebar .tagcloud a:hover, .site-footer .tagcloud a:hover,.site-footer .search-form .search-submit,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce ul.products li.product .onsale, .woocommerce span.onsale,.slider-btn a,#slider .carousel-control-next-icon:hover, #slider .carousel-control-prev-icon:hover,.box .box-content,.box-content h4 a,nav.woocommerce-MyAccount-navigation ul li a{
    4747    color: #fff;
    4848}
    49 a.more-link:hover,.page-template-custom-home-page .top_header strong,.top_header span,.top_header strong{
    50   color: #232323;
    51 }
    52 
    53 .gb_nav_menu ul ul a:hover,.slider-btn a:hover,.form-horizontal button#submit:hover{
     49.woocommerce a.checkout-button.button.alt.wc-forward:hover,.wp-block-button .wp-block-button__link:hover,.toggle-menu.gb_menu button,.form-horizontal button#submit:hover{
     50    color: #fff !important;
     51}
     52.wc-block-cart__submit-container a:hover, a.added_to_cart.wc-forward:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,.prev.page-numbers:focus, .prev.page-numbers:hover, .next.page-numbers:focus, .next.page-numbers:hover ,button:hover, button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus ,.gb_nav_menu ul ul a:hover,.slider-btn a:hover,.form-horizontal button#submit:hover{
    5453    background: #171d29;
    5554}
    56 
    5755.woocommerce a.checkout-button.button.alt.wc-forward{
    5856    color: #171d29 !important;
    5957}
    60 
    61 .woocommerce a.checkout-button.button.alt.wc-forward:hover,.wp-block-button .wp-block-button__link:hover,.toggle-menu.gb_menu button,.form-horizontal button#submit:hover{
    62     color: #fff !important;
    63 }
    64 .page-template-custom-home-page .site-title, .page-template-custom-home-page .site-title a, .page-template-custom-home-page .logo h1 a, .page-template-custom-home-page .logo p{
    65     color: #fff;
    66 }
    67 
     58.wc-block-checkout__form, .wp-block-woocommerce-checkout-order-summary-block, .wc-block-checkout__actions_row a:hover,.classes-inner-box p,a:hover, a:active,.site-info a:hover,.site-info .footer-copyright,a.more-link:hover,.page-template-custom-home-page .top_header strong,.top_header span,.top_header strong{
     59  color: #171d29;
     60}
     61.wc-block-components-product-badge {
     62    box-shadow: 2px 2px 0 0 #171d29;
     63    border: solid 2px #171d29 !important;
     64}
     65.entry-content .quotepost a,.entry-content .quotepost p,#Category-section pre.wp-block-verse{
     66    text-decoration: none;
     67    background: -webkit-linear-gradient( 90deg,#fc3c2a, #fc3c2a);
     68    -webkit-background-clip: text;
     69    -webkit-text-fill-color: transparent;
     70}
     71.wrap_figure,a.added_to_cart.wc-forward,.wc-block-cart__submit-container a,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.form-horizontal button#submit,.slider-btn a,button,input[type="button"],input[type="submit"],button.search-submit,.site-footer .search-form .search-submit,#sidebar input[type="search"], input[type="search"], .prev.page-numbers, .next.page-numbers{
     72    border-radius: 0px;
     73}
    6874.menu_header{
    6975    background: transparent;
    70 }
    71 .wrap_figure{
    72     background: #fc3c2a;
    73     border-radius: 0px;
    7476}
    7577.top_header span i {
     
    127129    padding: 2px;
    128130}
    129 /*breadcrumb*/
    130 .bread_crumb a:hover,.bread_crumb span ,.woocommerce-breadcrumb a:hover{
    131     color:#fc3c2a!important;
    132 }
    133 /*post-format*/
    134 .entry-content .quotepost a{
    135     text-decoration: none;
    136     background: -webkit-linear-gradient( 90deg,#fc3c2a, #fc3c2a);
    137     -webkit-background-clip: text;
    138     -webkit-text-fill-color: transparent;
    139 }
    140 .entry-content .quotepost p{
    141    background: -webkit-linear-gradient( 90deg,#fc3c2a, #fc3c2a);
    142     -webkit-background-clip: text;
    143     -webkit-text-fill-color: transparent;
    144 }
    145 #Category-section pre.wp-block-verse{
    146     border: 5px solid black!important;
    147     background: -webkit-linear-gradient( 90deg,#fc3c2a, #fc3c2a);
    148     -webkit-background-clip: text;
    149     -webkit-text-fill-color: transparent;
    150 }
     131
    151132/* Accessibility */
    152133/* Text meant only for screen readers. */
     
    225206    width: 85%;
    226207}
    227 
    228208.abt-img-border:after, .abt-img-border:before {
    229209    content: '';
     
    260240    letter-spacing: 1px;
    261241}
    262 .slider-btn a:hover{
    263     color: #fff;
    264 }
    265 
    266242.slider-btn a{
    267243    border-radius: 0px;
     
    273249    margin: 25px 0;
    274250}
    275 .classes-inner-box p {
    276     color: #171d29;
    277 }
     251
    278252.classes-box img {
    279253    width: 100%;
     
    325299        background: #fc3c2a;
    326300    }
    327     #slider .carousel-caption {
    328         right: 20%;
    329     }
    330301    .gb_nav_menu ul ul{
    331302        background: transparent;
     
    341312    }
    342313}
     314@media screen and (max-width:600px){
     315    #slider .carousel-caption{
     316        text-align: center !important;
     317        left: 15px !important;
     318        right: 15px !important;
     319    }
     320    #about-us h4, #about-us p, #about-us .slider-btn{
     321        text-align: center;
     322    }
     323    .classes-inner-box{
     324        left: 0;
     325        right: 0;
     326        text-align: center;
     327        padding-left: 0 !important;
     328    }
     329}
  • fitness-life-coach/1.2/template-parts/footer/site-info.php

    r209300 r214321  
    99
    1010?>
    11 <div class="site-info py-4 text-center">
    12 
    13     <?php
    14         echo esc_html( get_theme_mod( 'fitness_insight_footer_text' ) );
    15         printf(
    16             /* translators: %s: Fitness WordPress Theme. */
    17             '<a href="' . esc_attr__( 'https://www.ovationthemes.com/wordpress/free-life-coach-wordpress-theme/', 'fitness-insight' ) . '"> %s</a>',
    18             esc_html__( 'Fitness WordPress Theme', 'fitness-insight' )
    19         );
    20     ?>
    21 
     11<div class="site-info py-4">
     12    <div class="container-fluid">
     13    <?php fitness_life_coach_copyright_link(); ?>
     14    </div>
    2215</div>
Note: See TracChangeset for help on using the changeset viewer.