Make WordPress Themes

Changeset 310690


Ignore:
Timestamp:
01/28/2026 11:01:08 AM (9 months ago)
Author:
themedropbox
Message:

New version of Old Age Home - 0.2.4

Location:
old-age-home/0.2.4
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • old-age-home/0.2.4/includes/color-setting/custom-color-control.php

    r260848 r310690  
    3737                        $old_age_home_theme_custom_setting_css .='display: none;';
    3838                $old_age_home_theme_custom_setting_css .='}';
    39         }       
     39        }
     40   
     41    // Featured Image Hover Effect
     42    $old_age_home_show_featured = get_theme_mod('old_age_home_featured_image_hide_show', 1);
     43    $old_age_home_hover_effect = get_theme_mod('old_age_home_single_post_featured_image_hover','none');
     44
     45    if ( $old_age_home_show_featured && $old_age_home_hover_effect !== 'none' ) {
     46
     47    $old_age_home_theme_custom_setting_css .= '
     48    .post-img img{
     49        transition: all 0.4s ease;
     50    }';
     51
     52    if ( $old_age_home_hover_effect === 'zoom-in' ) {
     53        $old_age_home_theme_custom_setting_css .= '
     54        .post-img:hover img{
     55            transform: scale(1.2);
     56        }';
     57    }
     58
     59    if ( $old_age_home_hover_effect === 'zoom-out' ) {
     60        $old_age_home_theme_custom_setting_css .= '
     61        .post-img img{ transform: scale(1.2); }
     62        .post-img:hover img{ transform: scale(1); }';
     63    }
     64
     65    if ( $old_age_home_hover_effect === 'grayscale' ) {
     66        $old_age_home_theme_custom_setting_css .= '
     67        .post-img img{ filter: grayscale(100%); }
     68        .post-img:hover img{ filter: grayscale(0); }';
     69    }
     70
     71    if ( $old_age_home_hover_effect === 'sepia' ) {
     72        $old_age_home_theme_custom_setting_css .= '
     73        .post-img:hover img{ filter: sepia(100%); }';
     74    }
     75
     76    if ( $old_age_home_hover_effect === 'blur' ) {
     77        $old_age_home_theme_custom_setting_css .= '
     78        .post-img:hover img{ filter: blur(3px); }';
     79    }
     80
     81    if ( $old_age_home_hover_effect === 'bright' ) {
     82        $old_age_home_theme_custom_setting_css .= '
     83        .post-img:hover img{ filter: brightness(1.3); }';
     84    }
     85
     86    if ( $old_age_home_hover_effect === 'translate' ) {
     87        $old_age_home_theme_custom_setting_css .= '
     88        .post-img:hover img{ transform: translateY(-10px); }';
     89    }
     90
     91    if ( $old_age_home_hover_effect === 'scale' ) {
     92        $old_age_home_theme_custom_setting_css .= '
     93        .post-img:hover img{ transform: scale(1.1); }';
     94    }
     95}
  • old-age-home/0.2.4/includes/customizer.php

    r299564 r310690  
    712712                ),
    713713        ] );
     714
     715        Kirki::add_field( 'theme_config_id', [
     716        'type'     => 'select',
     717        'tab'      => 'single-post',
     718        'settings' => 'old_age_home_single_post_featured_image_hover',
     719        'label'    => esc_html__( 'Featured Image Hover Effect', 'old-age-home' ),
     720        'section'  => 'old_age_home_blog_post',
     721        'default'  => 'none',
     722        'priority' => 20,
     723        'choices'  => [
     724                'none'      => esc_html__( 'None', 'old-age-home' ),
     725                'zoom-in'   => esc_html__( 'Zoom In', 'old-age-home' ),
     726                'zoom-out'  => esc_html__( 'Zoom Out', 'old-age-home' ),
     727                'scale'     => esc_html__( 'Scale', 'old-age-home' ),
     728                'grayscale' => esc_html__( 'Grayscale', 'old-age-home' ),
     729                'blur'      => esc_html__( 'Blur', 'old-age-home' ),
     730                'bright'    => esc_html__( 'Bright', 'old-age-home' ),
     731                'sepia'     => esc_html__( 'Sepia', 'old-age-home' ),
     732                'translate' => esc_html__( 'Translate', 'old-age-home' ),
     733        ],
     734    ] );
    714735       
    715736        Kirki::add_field( 'theme_config_id', [
  • old-age-home/0.2.4/includes/product-create.php

    r299564 r310690  
    2020        set_theme_mod( 'old_age_home_header_button_text', 'Make An Appointment' );
    2121        set_theme_mod( 'old_age_home_header_button_link', '#' );
     22
     23        /* Create Menu */
     24            $old_age_home_menuname  = 'Main Menus';
     25            $old_age_home_location  = 'main-menu';
     26
     27            $old_age_home_menu = wp_get_nav_menu_object( $old_age_home_menuname );
     28
     29            if ( ! $old_age_home_menu ) {
     30            $old_age_home_menu_id = wp_create_nav_menu( $old_age_home_menuname );
     31
     32           // Home Page
     33                        wp_update_nav_menu_item( $old_age_home_menu_id, 0, array(
     34                                'menu-item-title'     => __( 'Home', 'old-age-home' ),
     35                                'menu-item-url'       => home_url( '/' ),
     36                                'menu-item-type'      => 'custom',
     37                                'menu-item-status'    => 'publish',
     38                        ) );
     39
     40                        // About Us Page
     41                        $old_age_home_about_id = wp_insert_post( array(
     42                        'post_type'   => 'page',
     43                        'post_content' => 'We are committed to providing reliable, professional, and result-oriented solutions tailored to meet individual needs. Our goal is to empower people with the right guidance, knowledge, and support to help them make informed decisions for a better future. <br><br> Our mission is to deliver high-quality services with honesty, transparency, and dedication. We focus on understanding client requirements and offering practical solutions that create long-term value. <br><br> With a client-centric approach, experienced professionals, and a commitment to excellence, we ensure every individual receives the attention and guidance they deserve. We believe in building trust through quality service and consistent results.',
     44                        'post_title'  => 'About Us',
     45                        'post_status' => 'publish',
     46                        ) );
     47
     48                        if ( $old_age_home_about_id ) {
     49                        wp_update_nav_menu_item( $old_age_home_menu_id, 0, array(
     50                        'menu-item-title'     => 'About Us',
     51                        'menu-item-object'    => 'page',
     52                        'menu-item-object-id' => $old_age_home_about_id,
     53                        'menu-item-type'      => 'post_type',
     54                        'menu-item-status'    => 'publish',
     55                        ) );
     56                        }
     57
     58                        // Services Page
     59                        $old_age_home_about_id = wp_insert_post( array(
     60                        'post_type'   => 'page',
     61                        'post_content' => 'We are committed to providing reliable, professional, and result-oriented solutions tailored to meet individual needs. Our goal is to empower people with the right guidance, knowledge, and support to help them make informed decisions for a better future. <br><br> Our mission is to deliver high-quality services with honesty, transparency, and dedication. We focus on understanding client requirements and offering practical solutions that create long-term value. <br><br> With a client-centric approach, experienced professionals, and a commitment to excellence, we ensure every individual receives the attention and guidance they deserve. We believe in building trust through quality service and consistent results.',
     62                        'post_title'  => 'Services',
     63                        'post_status' => 'publish',
     64                        ) );
     65
     66                        if ( $old_age_home_about_id ) {
     67                        wp_update_nav_menu_item( $old_age_home_menu_id, 0, array(
     68                        'menu-item-title'     => 'Services',
     69                        'menu-item-object'    => 'page',
     70                        'menu-item-object-id' => $old_age_home_about_id,
     71                        'menu-item-type'      => 'post_type',
     72                        'menu-item-status'    => 'publish',
     73                        ) );
     74                        }
     75
     76                        // Pages Page
     77                        $old_age_home_about_id = wp_insert_post( array(
     78                        'post_type'   => 'page',
     79                        'post_content' => 'We are committed to providing reliable, professional, and result-oriented solutions tailored to meet individual needs. Our goal is to empower people with the right guidance, knowledge, and support to help them make informed decisions for a better future. <br><br> Our mission is to deliver high-quality services with honesty, transparency, and dedication. We focus on understanding client requirements and offering practical solutions that create long-term value. <br><br> With a client-centric approach, experienced professionals, and a commitment to excellence, we ensure every individual receives the attention and guidance they deserve. We believe in building trust through quality service and consistent results.',
     80                        'post_title'  => 'Pages',
     81                        'post_status' => 'publish',
     82                        ) );
     83
     84                        if ( $old_age_home_about_id ) {
     85                        wp_update_nav_menu_item( $old_age_home_menu_id, 0, array(
     86                        'menu-item-title'     => 'Pages',
     87                        'menu-item-object'    => 'page',
     88                        'menu-item-object-id' => $old_age_home_about_id,
     89                        'menu-item-type'      => 'post_type',
     90                        'menu-item-status'    => 'publish',
     91                        ) );
     92                        }
     93
     94                        // Contact Us Page
     95                        $old_age_home_about_id = wp_insert_post( array(
     96                        'post_type'   => 'page',
     97                        'post_content' => 'We are committed to providing reliable, professional, and result-oriented solutions tailored to meet individual needs. Our goal is to empower people with the right guidance, knowledge, and support to help them make informed decisions for a better future. <br><br> Our mission is to deliver high-quality services with honesty, transparency, and dedication. We focus on understanding client requirements and offering practical solutions that create long-term value. <br><br> With a client-centric approach, experienced professionals, and a commitment to excellence, we ensure every individual receives the attention and guidance they deserve. We believe in building trust through quality service and consistent results.',
     98                        'post_title'  => 'Contact Us',
     99                        'post_status' => 'publish',
     100                        ) );
     101
     102                        if ( $old_age_home_about_id ) {
     103                        wp_update_nav_menu_item( $old_age_home_menu_id, 0, array(
     104                        'menu-item-title'     => 'Contact Us',
     105                        'menu-item-object'    => 'page',
     106                        'menu-item-object-id' => $old_age_home_about_id,
     107                        'menu-item-type'      => 'post_type',
     108                        'menu-item-status'    => 'publish',
     109                        ) );
     110                        }
     111
     112            // Create Blog Page
     113                $old_age_home_blog_page_title = 'Blog';
     114
     115                $old_age_home_blog_page_query = new WP_Query(array(
     116                    'post_type'      => 'page',
     117                    'name'           => sanitize_title($old_age_home_blog_page_title),
     118                    'post_status'    => 'publish',
     119                    'posts_per_page' => 1
     120                ));
     121                if (!$old_age_home_blog_page_query->hae_posts()) {
     122                    $old_age_home_blog_page = array(
     123                        'post_type'   => 'page',
     124                        'post_title'  => $old_age_home_blog_page_title,
     125                        'post_status' => 'publish',
     126                        'post_author' => 1,
     127                    );
     128                    $old_age_home_blog_page_id = wp_insert_post($old_age_home_blog_page);
     129                    update_option('page_for_posts', $old_age_home_blog_page_id);
     130
     131                    wp_update_na_menu_item($old_age_home_menu_id, 0, array(
     132                        'menu-item-title'      => __('Blog', 'old-age-home'),
     133                        'menu-item-url'        => get_permalink($old_age_home_blog_page_id),
     134                        'menu-item-status'     => 'publish',
     135                        'menu-item-object-id'  => $old_age_home_blog_page_id,
     136                        'menu-item-object'     => 'page',
     137                        'menu-item-type'       => 'post_type',
     138                    ));
     139                }
     140         
     141                        /* Assign Menu Location */
     142                        $old_age_home_locations = get_theme_mod( 'nav_menu_locations', array() );
     143                        $old_age_home_locations[ $old_age_home_location ] = $old_age_home_menu_id;
     144                        set_theme_mod( 'nav_menu_locations', $old_age_home_locations );
     145                }
    22146        }
    23147
  • old-age-home/0.2.4/includes/tgm/class-tgm-plugin-activation.php

    r243650 r310690  
    99 *
    1010 * @package   TGM-Plugin-Activation
    11  * @version   2.6.1 for parent theme Old Age Home for publication on WordPress.org
     11 * @version   2.6.1
    1212 * @link      http://tgmpluginactivation.com/
    1313 * @author    Thomas Griffin, Gary Jones, Juliette Reinders Folmer
    … …  
    3232        Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    3333*/
     34
     35// Exit if accessed directly.
     36if ( ! defined( 'ABSPATH' ) ) {
     37        return;
     38}
    3439
    3540if ( ! class_exists( 'TGM_Plugin_Activation' ) ) {
    … …  
    260265                        do_action_ref_array( 'tgmpa_init', array( $this ) );
    261266
    262 
     267                        /*
     268                         * Load our text domain and allow for overloading the fall-back file.
     269                         *
     270                         * {@internal IMPORTANT! If this code changes, review the regex in the custom TGMPA
     271                         * generator on the website.}}
     272                         */
     273                        add_action( 'init', array( $this, 'load_textdomain' ), 5 );
     274                        add_filter( 'load_textdomain_mofile', array( $this, 'overload_textdomain_mofile' ), 10, 2 );
    263275
    264276                        // When the rest of WP has loaded, kick-start the rest of the class.
    … …  
    283295                 */
    284296                public function __set( $name, $value ) {
     297                        // phpcs:ignore Squiz.PHP.NonExecutableCode.ReturnNotRequired -- See explanation above.
    285298                        return;
    286299                }
    … …  
    332345                                'updating'                        => __( 'Updating Plugin: %s', 'old-age-home' ),
    333346                                'oops'                            => __( 'Something went wrong with the plugin API.', 'old-age-home' ),
     347                                /* translators: 1: plugin name(s). */
    334348                                'notice_can_install_required'     => _n_noop(
    335                                         /* translators: 1: plugin name(s). */
    336349                                        'This theme requires the following plugin: %1$s.',
    337350                                        'This theme requires the following plugins: %1$s.',
    338351                                        'old-age-home'
    339352                                ),
     353                                /* translators: 1: plugin name(s). */
    340354                                'notice_can_install_recommended'  => _n_noop(
    341                                         /* translators: 1: plugin name(s). */
    342355                                        'This theme recommends the following plugin: %1$s.',
    343356                                        'This theme recommends the following plugins: %1$s.',
    344357                                        'old-age-home'
    345358                                ),
     359                                /* translators: 1: plugin name(s). */
    346360                                'notice_ask_to_update'            => _n_noop(
    347                                         /* translators: 1: plugin name(s). */
    348361                                        'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.',
    349362                                        'The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.',
    350363                                        'old-age-home'
    351364                                ),
     365                                /* translators: 1: plugin name(s). */
    352366                                'notice_ask_to_update_maybe'      => _n_noop(
    353                                         /* translators: 1: plugin name(s). */
    354367                                        'There is an update available for: %1$s.',
    355368                                        'There are updates available for the following plugins: %1$s.',
    356369                                        'old-age-home'
    357370                                ),
     371                                /* translators: 1: plugin name(s). */
    358372                                'notice_can_activate_required'    => _n_noop(
    359                                         /* translators: 1: plugin name(s). */
    360373                                        'The following required plugin is currently inactive: %1$s.',
    361374                                        'The following required plugins are currently inactive: %1$s.',
    362375                                        'old-age-home'
    363376                                ),
     377                                /* translators: 1: plugin name(s). */
    364378                                'notice_can_activate_recommended' => _n_noop(
    365                                         /* translators: 1: plugin name(s). */
    366379                                        'The following recommended plugin is currently inactive: %1$s.',
    367380                                        'The following recommended plugins are currently inactive: %1$s.',
    … …  
    445458                                add_action( 'switch_theme', array( $this, 'force_deactivation' ) );
    446459                        }
     460
     461                        // Add CSS for the TGMPA admin page.
     462                        add_action( 'admin_head', array( $this, 'admin_css' ) );
     463                }
     464
     465                /**
     466                 * Load translations.
     467                 *
     468                 * @since 2.6.0
     469                 *
     470                 * (@internal Uses `load_theme_textdomain()` rather than `load_plugin_textdomain()` to
     471                 * get round the different ways of handling the path and deprecated notices being thrown
     472                 * and such. For plugins, the actual file name will be corrected by a filter.}}
     473                 *
     474                 * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA
     475                 * generator on the website.}}
     476                 */
     477                public function load_textdomain() {
     478                        if ( is_textdomain_loaded( 'old-age-home' ) ) {
     479                                return;
     480                        }
     481
     482                        if ( false !== strpos( __FILE__, WP_PLUGIN_DIR ) || false !== strpos( __FILE__, WPMU_PLUGIN_DIR ) ) {
     483                                // Plugin, we'll need to adjust the file name.
     484                                add_action( 'load_textdomain_mofile', array( $this, 'correct_plugin_mofile' ), 10, 2 );
     485                                load_theme_textdomain( 'old-age-home', dirname( __FILE__ ) . '/languages' );
     486                                remove_action( 'load_textdomain_mofile', array( $this, 'correct_plugin_mofile' ), 10 );
     487                        } else {
     488                                load_theme_textdomain( 'old-age-home', dirname( __FILE__ ) . '/languages' );
     489                        }
     490                }
     491
     492                /**
     493                 * Correct the .mo file name for (must-use) plugins.
     494                 *
     495                 * Themese use `/path/{locale}.mo` while plugins use `/path/{text-domain}-{locale}.mo`.
     496                 *
     497                 * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA
     498                 * generator on the website.}}
     499                 *
     500                 * @since 2.6.0
     501                 *
     502                 * @param string $mofile Full path to the target mofile.
     503                 * @param string $domain The domain for which a language file is being loaded.
     504                 * @return string $mofile
     505                 */
     506                public function correct_plugin_mofile( $mofile, $domain ) {
     507                        // Exit early if not our domain (just in case).
     508                        if ( 'old-age-home' !== $domain ) {
     509                                return $mofile;
     510                        }
     511                        return preg_replace( '`/([a-z]{2}_[A-Z]{2}.mo)$`', '/tgmpa-$1', $mofile );
     512                }
     513
     514                /**
     515                 * Potentially overload the fall-back translation file for the current language.
     516                 *
     517                 * WP, by default since WP 3.7, will load a local translation first and if none
     518                 * can be found, will try and find a translation in the /wp-content/languages/ directory.
     519                 * As this library is theme/plugin agnostic, translation files for TGMPA can exist both
     520                 * in the WP_LANG_DIR /plugins/ subdirectory as well as in the /themes/ subdirectory.
     521                 *
     522                 * This method makes sure both directories are checked.
     523                 *
     524                 * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA
     525                 * generator on the website.}}
     526                 *
     527                 * @since 2.6.0
     528                 *
     529                 * @param string $mofile Full path to the target mofile.
     530                 * @param string $domain The domain for which a language file is being loaded.
     531                 * @return string $mofile
     532                 */
     533                public function overload_textdomain_mofile( $mofile, $domain ) {
     534                        // Exit early if not our domain, not a WP_LANG_DIR load or if the file exists and is readable.
     535                        if ( 'old-age-home' !== $domain || false === strpos( $mofile, WP_LANG_DIR ) || @is_readable( $mofile ) ) {
     536                                return $mofile;
     537                        }
     538
     539                        // Current fallback file is not valid, let's try the alternative option.
     540                        if ( false !== strpos( $mofile, '/themes/' ) ) {
     541                                return str_replace( '/themes/', '/plugins/', $mofile );
     542                        } elseif ( false !== strpos( $mofile, '/plugins/' ) ) {
     543                                return str_replace( '/plugins/', '/themes/', $mofile );
     544                        } else {
     545                                return $mofile;
     546                        }
    447547                }
    448548
    … …  
    556656
    557657                                global $tab, $body_id;
     658                                // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- WP requirement.
    558659                                $body_id = 'plugin-information';
    559                                 // @codingStandardsIgnoreStart
    560                                 $tab     = 'plugin-information';
    561                                 // @codingStandardsIgnoreEnd
     660
     661                                // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited -- Overriding the WP global is the point.
     662                                $tab = 'plugin-information';
    562663
    563664                                install_plugin_information();
    … …  
    631732                 */
    632733                protected function add_admin_menu( array $args ) {
    633                         $this->page_hook = add_theme_page( $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] );
     734                        if ( has_filter( 'tgmpa_admin_menu_use_add_theme_page' ) ) {
     735                                _deprecated_function( 'The "tgmpa_admin_menu_use_add_theme_page" filter', '2.5.0', esc_html__( 'Set the parent_slug config variable instead.', 'old-age-home' ) );
     736                        }
     737
     738                        if ( 'themes.php' === $this->parent_slug ) {
     739                                $this->page_hook = call_user_func( 'add_theme_page', $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] );
     740                        } else {
     741                                $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] );
     742                        }
    634743                }
    635744
    … …  
    647756                public function install_plugins_page() {
    648757                        // Store new instance of plugin table in object.
    649                         $plugin_table = new TGMPA_List_Table;
     758                        $plugin_table = new TGMPA_List_Table();
    650759
    651760                        // Return early if processing a plugin installation action.
    … …  
    735844                                $method = ''; // Leave blank so WP_Filesystem can populate it as necessary.
    736845
    737                                 if ( false === ( $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, array() ) ) ) {
     846                                $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, array() );
     847                                if ( false === $creds ) {
    738848                                        return true;
    739849                                }
    … …  
    792902                                if ( 'update' === $install_type ) {
    793903                                        // Inject our info into the update transient.
    794                                         $to_inject                    = array( $slug => $this->plugins[ $slug ] );
     904                                        $to_inject                    = array(
     905                                                $slug => $this->plugins[ $slug ],
     906                                        );
    795907                                        $to_inject[ $slug ]['source'] = $source;
    796908                                        $this->inject_update_info( $to_inject );
    … …  
    819931                                // Display message based on if all plugins are now active or not.
    820932                                if ( $this->is_tgmpa_complete() ) {
    821                                         echo '<p>', sprintf( esc_html( $this->strings['complete'] ), '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html__( 'Return to the Dashboard', 'old-age-home' ) . '</a>' ), '</p>';
     933                                        echo '<p>', sprintf( esc_html( $this->strings['complete'] ), '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html( $this->strings['dashboard'] ) . '</a>' ), '</p>';
    822934                                        echo '<style type="text/css">#adminmenu .wp-submenu li.current { display: none !important; }</style>';
    823935                                } else {
    … …  
    849961
    850962                        if ( ! is_object( $repo_updates ) ) {
    851                                 $repo_updates = new stdClass;
     963                                $repo_updates = new stdClass();
    852964                        }
    853965
    … …  
    856968
    857969                                if ( empty( $repo_updates->response[ $file_path ] ) ) {
    858                                         $repo_updates->response[ $file_path ] = new stdClass;
     970                                        $repo_updates->response[ $file_path ] = new stdClass();
    859971                                }
    860972
    … …  
    9261038                                                return trailingslashit( $to_path );
    9271039                                        } else {
    928                                                 return new WP_Error( 'rename_failed', esc_html__( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'old-age-home' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'old-age-home' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) );
     1040                                                return new WP_Error(
     1041                                                        'rename_failed',
     1042                                                        esc_html__( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'old-age-home' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'old-age-home' ),
     1043                                                        array(
     1044                                                                'found'    => $subdir_name,
     1045                                                                'expected' => $desired_slug,
     1046                                                        )
     1047                                                );
    9291048                                        }
    9301049                                } elseif ( empty( $subdir_name ) ) {
    931                                         return new WP_Error( 'packaged_wrong', esc_html__( 'The remote plugin package consists of more than one file, but the files are not packaged in a folder.', 'old-age-home' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'old-age-home' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) );
     1050                                        return new WP_Error(
     1051                                                'packaged_wrong',
     1052                                                esc_html__( 'The remote plugin package consists of more than one file, but the files are not packaged in a folder.', 'old-age-home' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'old-age-home' ),
     1053                                                array(
     1054                                                        'found'    => $subdir_name,
     1055                                                        'expected' => $desired_slug,
     1056                                                )
     1057                                        );
    9321058                                }
    9331059                        }
    … …  
    9601086                                                // Make sure message doesn't display again if bulk activation is performed
    9611087                                                // immediately after a single activation.
    962                                                 if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK.
     1088                                                // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Not using the superglobal.
     1089                                                if ( ! isset( $_POST['action'] ) ) {
    9631090                                                        echo '<div id="message" class="updated"><p>', esc_html( $this->strings['activated_successfully'] ), ' <strong>', esc_html( $this->plugins[ $slug ]['name'] ), '.</strong></p></div>';
    9641091                                                }
    … …  
    9811108                                        // Make sure message doesn't display again if bulk activation is performed
    9821109                                        // immediately after a single activation.
    983                                         if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK.
     1110                                        // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Not using the superglobal.
     1111                                        if ( ! isset( $_POST['action'] ) ) {
    9841112                                                echo '<div id="message" class="error"><p>',
    9851113                                                        sprintf(
    … …  
    11311259
    11321260                                // Register the nag messages and prepare them to be processed.
    1133                                 add_settings_error( 'tgmpa', 'tgmpa', $rendered, $this->get_admin_notice_class() );
     1261                                add_settings_error( 'old-age-home', 'old-age-home', $rendered, $this->get_admin_notice_class() );
    11341262                        }
    11351263
    … …  
    12311359                        global $wp_settings_errors;
    12321360
    1233                         settings_errors( 'tgmpa' );
     1361                        settings_errors( 'old-age-home' );
    12341362
    12351363                        foreach ( (array) $wp_settings_errors as $key => $details ) {
    1236                                 if ( 'tgmpa' === $details['setting'] ) {
     1364                                if ( 'old-age-home' === $details['setting'] ) {
    12371365                                        unset( $wp_settings_errors[ $key ] );
    12381366                                        break;
    … …  
    12761404
    12771405                        $defaults = array(
    1278                                 'name'               => '',      // String
    1279                                 'slug'               => '',      // String
    1280                                 'source'             => 'repo',  // String
    1281                                 'required'           => false,   // Boolean
    1282                                 'version'            => '',      // String
    1283                                 'force_activation'   => false,   // Boolean
    1284                                 'force_deactivation' => false,   // Boolean
    1285                                 'external_url'       => '',      // String
    1286                                 'is_callable'        => '',      // String|Array.
     1406                                'name'               => '',      // String.
     1407                                'slug'               => '',      // String.
     1408                                'source'             => 'repo',  // String.
     1409                                'required'           => false,   // Boolean.
     1410                                'version'            => '',      // String.
     1411                                'force_activation'   => false,   // Boolean.
     1412                                'force_deactivation' => false,   // Boolean.
     1413                                'external_url'       => '',      // String.
     1414                                'is_callable'        => '',      // String or array.
    12871415                        );
    12881416
    … …  
    15501678                                }
    15511679
    1552                                 $response = plugins_api( 'plugin_information', array( 'slug' => $slug, 'fields' => array( 'sections' => false ) ) );
     1680                                $response = plugins_api(
     1681                                        'plugin_information',
     1682                                        array(
     1683                                                'slug'   => $slug,
     1684                                                'fields' => array(
     1685                                                        'sections' => false,
     1686                                                ),
     1687                                        )
     1688                                );
    15531689
    15541690                                $api[ $slug ] = false;
    … …  
    16331769                                // Core update screen.
    16341770                                return true;
    1635                         } elseif ( 'plugins' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok.
     1771                        } elseif ( 'plugins' === $screen->base && ! empty( $_POST['action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
    16361772                                // Plugins bulk update screen.
    16371773                                return true;
    1638                         } elseif ( 'update' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok.
     1774                        } elseif ( 'update' === $screen->base && ! empty( $_POST['action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
    16391775                                // Individual updates (ajax call).
    16401776                                return true;
    … …  
    19822118
    19832119                /**
     2120                 * Adds CSS to admin head.
     2121                 *
     2122                 * @since 2.6.2
     2123                 */
     2124                public function admin_css() {
     2125                        if ( ! $this->is_tgmpa_page() ) {
     2126                                return;
     2127                        }
     2128
     2129                        echo '
     2130                        <style>
     2131                        #tgmpa-plugins .tgmpa-type-required > th {
     2132                                border-left: 3px solid #dc3232;
     2133                        }
     2134                        </style>';
     2135                }
     2136
     2137                /**
    19842138                 * Returns the singleton instance of the class.
    19852139                 *
    … …  
    20252179         * @param array $config  Optional. An array of configuration values.
    20262180         */
    2027         function old_age_home_tgmpa( $plugins, $config = array() ) {
     2181        function tgmpa( $plugins, $config = array() ) {
    20282182                $instance = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) );
    20292183
    … …  
    24782632                                $color = '';
    24792633                                if ( ! empty( $item['minimum_version'] ) && $this->tgmpa->does_plugin_require_update( $item['slug'] ) ) {
    2480                                         $color = ' color: #008D9E; font-weight: bold;';
     2634                                        $color = ' color: #ff0000; font-weight: bold;';
    24812635                                }
    24822636
    … …  
    25252679                 */
    25262680                public function no_items() {
    2527                         echo esc_html__( 'No plugins to install, update or activate.', 'old-age-home' ) . ' <a href="' . esc_url( self_admin_url() ) . '"> ' . esc_html__( 'Return to the Dashboard', 'old-age-home' ) . '</a>';
     2681                        echo esc_html__( 'No plugins to install, update or activate.', 'old-age-home' ) . ' <a href="' . esc_url( self_admin_url() ) . '"> ' . esc_html( $this->tgmpa->strings['dashboard'] ) . '</a>';
    25282682                        echo '<style type="text/css">#adminmenu .wp-submenu li.current { display: none !important; }</style>';
    25292683                }
    … …  
    26432797                 */
    26442798                public function single_row( $item ) {
    2645                         parent::single_row( $item );
     2799                        echo '<tr class="' . esc_attr( 'tgmpa-type-' . strtolower( $item['type'] ) ) . '">';
     2800                        $this->single_row_columns( $item );
     2801                        echo '</tr>';
    26462802
    26472803                        /**
    … …  
    26882844                 * @since 2.5.0
    26892845                 *
    2690                  * @param string $which 'top' or 'bottom' table navigation.
     2846                 * @param string $which Either 'top' or 'bottom' table navigation.
    26912847                 */
    26922848                public function extra_tablenav( $which ) {
    … …  
    28142970                                $fields = array_keys( $_POST ); // Extra fields to pass to WP_Filesystem.
    28152971
    2816                                 if ( false === ( $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, $fields ) ) ) {
     2972                                $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, $fields );
     2973                                if ( false === $creds ) {
    28172974                                        return true; // Stop the normal page form from displaying, credential request form will be shown.
    28182975                                }
    … …  
    29423099                                        $imploded     = empty( $plugin_names ) ? $last_plugin : ( implode( ', ', $plugin_names ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'old-age-home' ) . ' ' . $last_plugin );
    29433100
    2944                                         printf( // WPCS: xss ok.
     3101                                        printf(
    29453102                                                '<div id="message" class="updated"><p>%1$s %2$s.</p></div>',
    29463103                                                esc_html( _n( 'The following plugin was activated successfully:', 'The following plugins were activated successfully:', $count, 'old-age-home' ) ),
     3104                                                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Pre-escaped via wrap_in_strong() method above.
    29473105                                                $imploded
    29483106                                        );
    … …  
    32893447                                                                break;
    32903448                                                        }
    3291                                                 } //end foreach $plugins
     3449                                                }
    32923450
    32933451                                                $this->maintenance_mode( false );
    … …  
    33093467                                                 * }
    33103468                                                 */
    3311                                                 do_action( 'upgrader_process_complete', $this, array(
    3312                                                         'action'  => 'install', // [TGMPA + ] adjusted.
    3313                                                         'type'    => 'plugin',
    3314                                                         'bulk'    => true,
    3315                                                         'plugins' => $plugins,
    3316                                                 ) );
     3469                                                do_action(
     3470                                                        // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Using WP core hook.
     3471                                                        'upgrader_process_complete',
     3472                                                        $this,
     3473                                                        array(
     3474                                                                'action'  => 'install', // [TGMPA + ] adjusted.
     3475                                                                'type'    => 'plugin',
     3476                                                                'bulk'    => true,
     3477                                                                'plugins' => $plugins,
     3478                                                        )
     3479                                                );
    33173480
    33183481                                                $this->skin->bulk_footer();
    … …  
    35013664                                                                $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation and activation process is starting. This process may take a while on some hosts, so please be patient.', 'old-age-home' );
    35023665                                                                /* translators: 1: plugin name. */
    3503                                                                 $this->upgrader->strings['skin_update_successful'] = __( '%1$s installed and activated successfully.', 'old-age-home' ) . ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'old-age-home' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'old-age-home' ) . '</span>.</a>';
     3666                                                                $this->upgrader->strings['skin_update_successful'] = __( '%1$s installed and activated successfully.', 'old-age-home' );
    35043667                                                                $this->upgrader->strings['skin_upgrade_end']       = __( 'All installations and activations have been completed.', 'old-age-home' );
    35053668                                                                /* translators: 1: plugin name, 2: action number 3: total number of actions. */
    … …  
    35093672                                                                $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation process is starting. This process may take a while on some hosts, so please be patient.', 'old-age-home' );
    35103673                                                                /* translators: 1: plugin name. */
    3511                                                                 $this->upgrader->strings['skin_update_successful'] = esc_html__( '%1$s installed successfully.', 'old-age-home' ) . ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'old-age-home' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'old-age-home' ) . '</span>.</a>';
     3674                                                                $this->upgrader->strings['skin_update_successful'] = __( '%1$s installed successfully.', 'old-age-home' );
    35123675                                                                $this->upgrader->strings['skin_upgrade_end']       = __( 'All installations have been completed.', 'old-age-home' );
    35133676                                                                /* translators: 1: plugin name, 2: action number 3: total number of actions. */
    35143677                                                                $this->upgrader->strings['skin_before_update_header'] = __( 'Installing Plugin %1$s (%2$d/%3$d)', 'old-age-home' );
     3678                                                        }
     3679
     3680                                                        // Add "read more" link only for WP < 4.8.
     3681                                                        if ( version_compare( $this->tgmpa->wp_version, '4.8', '<' ) ) {
     3682                                                                $this->upgrader->strings['skin_update_successful'] .= ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'old-age-home' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'old-age-home' ) . '</span>.</a>';
    35153683                                                        }
    35163684                                                }
    … …  
    35723740                                                        $update_actions['dashboard'] = sprintf(
    35733741                                                                esc_html( $this->tgmpa->strings['complete'] ),
    3574                                                                 '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html__( 'Return to the Dashboard', 'old-age-home' ) . '</a>'
     3742                                                                '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html( $this->tgmpa->strings['dashboard'] ) . '</a>'
    35753743                                                        );
    35763744                                                } else {
    … …  
    37153883                 */
    37163884                protected static function emulate_filter_bool( $value ) {
    3717                         // @codingStandardsIgnoreStart
     3885                        // phpcs:disable WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine
    37183886                        static $true  = array(
    37193887                                '1',
    … …  
    37303898                                'off', 'Off', 'OFF',
    37313899                        );
    3732                         // @codingStandardsIgnoreEnd
     3900                        // phpcs:enable
    37333901
    37343902                        if ( is_bool( $value ) ) {
    … …  
    37523920                }
    37533921        } // End of class TGMPA_Utils
    3754 } // End of class_exists wrapper
     3922}
  • old-age-home/0.2.4/includes/tgm/tgm.php

    r243650 r310690  
    4040        );
    4141        $config = array();
    42         old_age_home_tgmpa( $plugins, $config );
     42        tgmpa( $plugins, $config );
    4343}
    4444add_action( 'tgmpa_register', 'old_age_home_register_recommended_plugins' );
  • old-age-home/0.2.4/readme.txt

    r307778 r310690  
    22Contributors: wpelemento
    33Requires at least: 5.0
    4 Stable tag: 0.2.3
     4Stable tag: 0.2.4
    55Requires PHP: 5.6
    66Tested up to: 6.9
    … …  
    8080Source          : https://pxhere.com/en/photo/1193849
    8181
     82
    8283== Changelog ==
     84
     85= January-12-2026 :: 0.2.4
     86
     87* Updated rtl.css file.
     88* Added hover effect on single post featured image.
     89* Resolve css error.
     90* Added menu in demo import.
     91* Fetching post in blog page.
     92* Resolve tgm plugin error.
    8393
    8494= January-1-2026 :: 0.2.3
  • old-age-home/0.2.4/rtl.css

    r288880 r310690  
    1919  transition: none;
    2020}
     21
    2122.screen-reader-text:focus {
    2223  background-color: #f1f1f1;
    … …  
    3839  z-index: 100000;
    3940}
     41
    4042#content[tabindex="-1"]:focus {
    4143  outline: 0;
    4244}
     45
    4346body {
    4447  font-family: "Inter", sans-serif;
    … …  
    4750  background: #fff;
    4851}
     52
    4953h1,
    5054h2,
    … …  
    5761  font-family: "Lexend", sans-serif;
    5862}
     63
    5964a {
    6065  color: #121212;
    … …  
    6570  text-decoration: none;
    6671}
     72
    6773a:hover,
    6874a:focus {
    … …  
    7076  text-decoration: none;
    7177}
     78
    7279.post-single a,
    7380.page-single a,
    … …  
    8087  color: var(--primary-theme-color);
    8188}
     89
    8290.post-content a {
    8391  color: var(--primary-theme-color);
    8492}
     93
    8594/* ===============================================
    8695   HEADER BOX
    … …  
    9099  background-color: #fff;
    91100}
     101
    92102.page-template-frontpage .header {
    93103  border-bottom: 1px solid #000000;
    94104}
     105
    95106.topheader span {
    96107  color: #fff;
    … …  
    101112  word-break: break-all;
    102113}
     114
    103115.topheader .topheader-inner {
    104116  background-color: #000000;
    … …  
    106118  border-bottom-left-radius: 160px;
    107119}
     120
    108121.topheader i {
    109122  color: var(--primary-theme-color);
    110123}
     124
    111125.header .header-button {
    112126  background: #000;
    … …  
    119133  text-transform: capitalize;
    120134}
     135
    121136.header .header-button:hover,
    122137.header .header-button:hover {
    … …  
    124139  color: #fff;
    125140}
     141
    126142.header .header-button:hover i {
    127143  color: var(--primary-theme-color);
    128144  background: #fff;
    129145}
     146
    130147.header .header-button i {
    131148  color: #000;
    … …  
    137154  text-align: center;
    138155}
     156
    139157.mail-text {
    140158  position: relative;
    141159}
     160
    142161.mail-text::before {
    143162  position: absolute;
    … …  
    150169  height: 15px;
    151170}
     171
    152172.mail-text::after {
    153173  position: absolute;
    … …  
    160180  height: 15px;
    161181}
     182
    162183/* ===============================================
    163184  FOOTER SOCIAL ICONS
    … …  
    167188  padding: 6px 0px;
    168189}
     190
    169191.footer-links i {
    170192  color: #000;
    … …  
    173195  border-radius: 3px;
    174196}
     197
    175198.footer-links i:hover {
    176199  color: var(--primary-theme-color);
    177200}
     201
    178202/* ===============================================
    179203   HEADER IMAGE
    … …  
    187211  background-position: center;
    188212}
     213
    189214.header-image-box:before {
    190215  position: absolute;
    … …  
    197222  z-index: 1;
    198223}
     224
    199225.header-image-box h1,
    200226.headerimgbox-meta span,
    … …  
    206232  color: #fff;
    207233}
     234
    208235.header-image-box h1 {
    209236  font-size: 65px;
    210237}
     238
    211239.header-image-box h1,
    212240.post-title a {
    213241  word-wrap: break-word;
    214242}
     243
    215244/* ===============================================
    216245   LOGO BOX
    … …  
    228257  font-weight: bold;
    229258}
     259
    230260.logo span {
    231261  display: block;
    … …  
    234264  color: var(--primary-theme-color);
    235265}
     266
    236267/* ===============================================
    237268   MENU BOX
    … …  
    241272  position: relative;
    242273}
     274
    243275#main-menu ul {
    244276  margin: 0;
    … …  
    246278  display: block;
    247279}
     280
    248281#main-menu ul li {
    249282  position: relative;
    … …  
    252285  text-align: right;
    253286}
     287
    254288#main-menu ul li a {
    255289  display: block;
    … …  
    263297  font-family: "Plus Jakarta Sans", sans-serif;
    264298}
     299
    265300#main-menu .sub-menu li a:hover::after {
    266301  display: none;
    267302}
     303
    268304#main-menu a:hover,
    269305#main-menu ul li a:hover,
    270 #main-menu li:hover > a,
     306#main-menu li:hover>a,
    271307#main-menu a:focus,
    272308#main-menu ul li a:focus,
    273 #main-menu li.focus > a,
    274 #main-menu li:focus > a,
    275 #main-menu ul li.current-menu-item > a,
    276 #main-menu ul li.current_page_item > a,
    277 #main-menu ul li.current-menu-parent > a,
    278 #main-menu ul li.current_page_ancestor > a,
    279 #main-menu ul li.current-menu-ancestor > a {
     309#main-menu li.focus>a,
     310#main-menu li:focus>a,
     311#main-menu ul li.current-menu-item>a,
     312#main-menu ul li.current_page_item>a,
     313#main-menu ul li.current-menu-parent>a,
     314#main-menu ul li.current_page_ancestor>a,
     315#main-menu ul li.current-menu-ancestor>a {
    280316  color: var(--primary-theme-color);
    281317}
     318
    282319#main-menu ul.children,
    283320#main-menu ul.sub-menu {
    … …  
    295332  transition: opacity 0.3s ease 0s;
    296333}
     334
    297335#main-menu ul.children li,
    298336#main-menu ul.sub-menu li {
    … …  
    305343  margin: 0;
    306344}
    307 #main-menu li li:hover > ul,
    308 #main-menu li li:focus > ul,
    309 #main-menu li li.focus > ul {
     345
     346#main-menu li li:hover>ul,
     347#main-menu li li:focus>ul,
     348#main-menu li li.focus>ul {
    310349  top: 0px;
    311350  right: -100%;
    312351}
     352
    313353#main-menu ul.children li a,
    314354#main-menu ul.sub-menu li a {
    … …  
    322362  color: #121212;
    323363}
     364
    324365#main-menu ul.children li a:hover,
    325366#main-menu ul.sub-menu li a:hover {
    … …  
    328369  border-radius: 0;
    329370}
     371
    330372#main-menu ul.children li ul:before,
    331373#main-menu ul.sub-menu li ul:before,
    … …  
    335377  display: none;
    336378}
    337 #main-menu li:hover > ul,
    338 #main-menu li:focus > ul,
    339 #main-menu li.focus > ul {
     379
     380#main-menu li:hover>ul,
     381#main-menu li:focus>ul,
     382#main-menu li.focus>ul {
    340383  opacity: 1;
    341384  right: 0;
    342385}
     386
    343387/* ===============================================
    344388  menu dropdown css
    … …  
    356400  color: #000;
    357401}
     402
    358403#main-menu ul li.menu-item-has-children {
    359404  padding-left: 10px;
    360405  margin-left: 10px;
    361406}
     407
    362408#main-menu ul.sub-menu li.menu-item-has-children:after {
    363409  left: 30px;
    364410}
     411
    365412img.custom-logo {
    366413  max-width: 100%;
    367414}
     415
    368416#main-menu ul li a:hover::after,
    369 #main-menu ul li.current-menu-item > a::after,
    370 #main-menu ul li.current_page_item > a::after {
     417#main-menu ul li.current-menu-item>a::after,
     418#main-menu ul li.current_page_item>a::after {
    371419  position: absolute;
    372420  background-color: var(--primary-theme-color);
    … …  
    381429  border-radius: 20px;
    382430}
     431
    383432/* ===============================================
    384433   POST BOX
    … …  
    388437  background: #f2f8ff;
    389438}
     439
    390440.post-box {
    391441  box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 9%);
    … …  
    393443  text-align: center;
    394444}
     445
    395446h3.post-title {
    396447  font-size: 25px;
    397448}
     449
    398450.related-post h3.post-title {
    399451  font-size: 21px;
    400452}
     453
    401454.post-content p {
    402455  color: #5b5b5b;
    403456}
     457
    404458.post-meta,
    405459.crumb-box a:hover {
    406460  color: var(--primary-theme-color);
    407461}
     462
    408463pre {
    409464  display: block;
    … …  
    418473  border-radius: 4px;
    419474}
     475
    420476.post-content img,
    421477.post-thumbnail img,
    … …  
    425481  max-width: 100%;
    426482}
     483
    427484.post-content img,
    428485.post-thumbnail img {
    … …  
    430487  height: auto;
    431488}
     489
    432490.post-content:after {
    433491  content: "";
    … …  
    435493  clear: both;
    436494}
     495
    437496.post-content {
    438497  word-wrap: break-word;
    439498}
     499
    440500#content,
    441501footer {
    … …  
    443503  width: 100%;
    444504}
     505
    445506.box {
    446507  background-color: rgb(171 171 171 / 70%);
    … …  
    449510  position: relative;
    450511}
     512
    451513.post-box:hover:before {
    452514  opacity: 1;
    453515  transform: translateX(0);
    454516}
     517
    455518.box img {
    456519  width: 100%;
    … …  
    459522  transition: all 0.5s ease;
    460523}
     524
    461525.post-box:hover img {
    462526  opacity: 0.2;
    463527  transform: translateX(-20px) scale(1.15);
    464528}
     529
    465530.box .box-content {
    466531  opacity: 0;
    … …  
    475540  transition: all 0.5s ease;
    476541}
     542
    477543.post-box:hover .box-content {
    478544  opacity: 1;
    479545  transform: scale(1);
    480546}
     547
    481548p.slider-button a {
    482549  background: var(--primary-theme-color);
    … …  
    486553  font-weight: bold;
    487554}
     555
    488556p.slider-button a:hover {
    489557  background: #121212;
    490558}
     559
    491560.post-info span,
    492561.post-info a {
    … …  
    496565  display: inline-block;
    497566}
     567
    498568.post-info a:hover,
    499569.entry-date:hover a,
    … …  
    503573  color: var(--primary-theme-color);
    504574}
     575
    505576.post-info i {
    506577  color: var(--primary-theme-color);
    507578  font-size: 12px;
    508579}
     580
    509581/* Edit link  */
    510582.link-edit {
    … …  
    512584  margin-right: 10px;
    513585}
     586
    514587.post-info {
    515588  display: inline-block;
    516589}
     590
    517591.link-edit::before {
    518592  content: "\f044";
    519593  color: var(--primary-theme-color);
    520594}
     595
    521596.link-edit::before {
    522597  display: inline-block;
    … …  
    525600  margin-left: 8px;
    526601}
     602
    527603.post-edit-link {
    528604  color: #000 !important;
    529605}
     606
    530607/* ===============================================
    531608   Pagination
    … …  
    536613  margin: 25px 0;
    537614}
     615
    538616.pagination .nav-links a,
    539617.pagination .nav-links span.current,
    … …  
    550628  background: #f3f4f7;
    551629}
     630
    552631.pagination .nav-links a:hover,
    553632.pagination .nav-links a:focus,
    … …  
    568647  color: #fff;
    569648}
     649
    570650.comment-respond input#submit:hover,
    571651.comment-reply a:hover {
    572652  background: #121212;
    573653}
     654
    574655.comment-form-url input,
    575656nav.navigation.pagination {
    576657  width: 100%;
    577658}
     659
    578660.comment-respond input#submit {
    579661  background: var(--primary-theme-color);
    … …  
    583665  font-weight: 600;
    584666}
     667
    585668.comment-content a {
    586669  word-wrap: break-word;
    587670}
     671
    588672.bypostauthor {
    589673  display: block;
    590674}
     675
    591676.comments-title {
    592677  font-size: 1.125rem;
    593678}
     679
    594680.comment-body .pull-left {
    595681  padding-left: 0.625rem;
    596682}
     683
    597684.comment-list {
    598685  padding-right: 0;
    599686  border-bottom: 1px solid #00000047;
    600687}
     688
    601689.comment-list .comment {
    602690  display: block;
    603691}
     692
    604693.comment-list .pingback {
    605694  border-top: 1px solid rgba(0, 0, 0, 0.125);
    606695  padding: 0.563rem 0;
    607696}
     697
    608698.comment-list .pingback a {
    609699  margin-right: 5px;
    610700  margin-left: 5px;
    611701}
     702
    612703.comment-content.card-block {
    613704  padding: 15px;
    614705}
     706
    615707.comment-reply a {
    616708  padding: 10px;
    … …  
    618710  background: var(--primary-theme-color);
    619711}
     712
    620713/* ===============================================
    621714   SIDEBARS
    … …  
    626719  padding: 0 20px 0 0;
    627720}
     721
    628722.sidebar-area .textwidget img,
    629723.footer-area .textwidget img {
    … …  
    631725  height: auto;
    632726}
     727
    633728.sidebar-area .sidebar-widget {
    634729  margin-bottom: 25px;
    635730}
     731
    636732.sidebar-area a,
    637733.sidebar-area p,
    … …  
    646742  font-weight: normal;
    647743}
     744
    648745.sidebar-area ul,
    649746#calendar_wrap,
    … …  
    653750  margin: 0;
    654751}
     752
    655753.sidebar-area ul {
    656754  padding: 15px 30px 25px;
    … …  
    658756  border: solid 1px #e4e7ee;
    659757}
     758
    660759.wp-calendar .sidebar-area li a,
    661760.sidebar-area li {
    … …  
    663762  color: #5b5b5b;
    664763}
     764
    665765.sidebar-area li a:hover,
    666766.sidebar-area li:hover {
    667767  color: var(--primary-theme-color);
    668768}
     769
    669770.sidebar-area li {
    670771  padding: 14px 10px;
    671772  border-bottom: solid 1px #e4e7ee;
    672773}
     774
    673775.sidebar-area h4.title {
    674776  position: relative;
    … …  
    677779  margin-bottom: 20px;
    678780}
     781
    679782.sidebar-area h4.title:before {
    680783  position: absolute;
    … …  
    688791  margin: auto;
    689792}
     793
    690794.sidebar-area h4.title:after {
    691795  position: absolute;
    … …  
    700804  margin: auto;
    701805}
     806
    702807.sidebar-area .tagcloud a,
    703808.footer-area .tagcloud a {
    … …  
    710815  border: solid 1px #e4e7ee;
    711816}
     817
    712818.footer-area .tagcloud a {
    713819  border: solid 1px #fff;
    714820  color: #fff;
    715821}
     822
    716823.sidebar-area .tagcloud a:before,
    717824.footer-area .tagcloud a:before {
    718825  content: "#";
    719826}
     827
    720828.sidebar-area .tagcloud a:hover,
    721829.footer-area .tagcloud a:hover {
    … …  
    723831  color: #fff;
    724832}
     833
    725834.sidebar-area .wp-block-group__inner-container h2 {
    726835  color: #000000 !important;
    727836  font-size: 20px;
    728837}
     838
    729839.sidebar-area select,
    730840.footer-area select,
    … …  
    756866  border: solid 1px #e4e7ee;
    757867}
     868
    758869.sidebar-area ol.wp-block-latest-comments {
    759870  padding-right: 0px;
    760871}
     872
    761873#wp-calendar th,
    762874#wp-calendar #today,
    … …  
    765877  color: #434343 !important;
    766878}
     879
    767880#wp-calendar a:hover {
    768881  border: none;
    769882}
     883
    770884#wp-calendar {
    771885  background: #fff;
    772886  width: 100%;
    773887}
     888
    774889#wp-calendar caption {
    775890  font-size: 14px;
    … …  
    780895  font-weight: 500;
    781896}
     897
    782898#wp-calendar th,
    783899#wp-calendar td {
    … …  
    787903  padding: 3px 6px;
    788904}
     905
    789906#wp-calendar td a {
    790907  display: block;
    … …  
    794911  text-decoration: underline;
    795912}
     913
    796914#wp-calendar td#prev a,
    797915#wp-calendar td#prev a {
    … …  
    799917  text-align: right;
    800918}
     919
    801920#wp-calendar th {
    802921  font-weight: bold;
    803922}
     923
    804924tr:nth-child(2n + 2) {
    805925  background-color: #f3f4f7;
    806926}
     927
    807928.searchform label {
    808929  display: block;
    809930}
     931
    810932.searchform input[type="text"] {
    811933  width: calc(100% - 110px);
    … …  
    817939  border-radius: 30px;
    818940}
     941
    819942#searchform {
    820943  border: solid 1px #e4e7ee;
    821944  border-radius: 30px;
    822945}
     946
    823947.searchform input[type="submit"] {
    824948  background: var(--primary-theme-color);
    … …  
    841965  transition: color 0.3s ease, background-color 0.3s ease;
    842966}
     967
    843968.searchform input[type="submit"]:hover,
    844969.searchform input[type="submit"]:focus {
    … …  
    846971  text-decoration: none;
    847972}
     973
    848974.searchform:after {
    849975  content: "";
    … …  
    851977  clear: both;
    852978}
     979
    853980.footer-widget {
    854981  background: #171414;
    855982}
     983
    856984.footer-copyright {
    857985  background: var(--primary-theme-color);
    858986}
     987
    859988footer a,
    860989footer p,
    … …  
    8721001  color: #fff;
    8731002}
     1003
    8741004.footer-area ul {
    8751005  padding: 0;
    8761006  list-style: none;
    8771007}
     1008
    8781009.footer-area h4.title {
    8791010  font-size: 30px;
    … …  
    8821013  word-wrap: break-word;
    8831014}
     1015
    8841016.footer-area li {
    8851017  padding: 8px 0;
    8861018}
     1019
    8871020.footer-area input[type="search"] {
    8881021  width: 100%;
    … …  
    8911024  border: solid 1px#4d4d4d;
    8921025}
     1026
    8931027.footer-area form.woocommerce-product-search button,
    8941028#sidebar form.woocommerce-product-search button {
    … …  
    9031037  border: solid 1pxvar (--primary-theme-color);
    9041038}
     1039
    9051040img.size-auto,
    9061041img.size-full,
    … …  
    9141049  height: auto;
    9151050}
     1051
    9161052.alignleft,
    9171053img.alignleft {
    … …  
    9211057  margin-top: 4px;
    9221058}
     1059
    9231060.alignright,
    9241061img.alignright {
    … …  
    9281065  margin-top: 4px;
    9291066}
     1067
    9301068div.aligncenter,
    9311069img.aligncenter {
    … …  
    9351073  float: none;
    9361074}
     1075
    9371076img.alignleft,
    9381077img.alignright,
    … …  
    9401079  margin-bottom: 12px;
    9411080}
     1081
    9421082.wp-caption {
    9431083  line-height: 18px;
    … …  
    9471087  text-align: center;
    9481088}
     1089
    9491090.wp-caption img {
    9501091  margin: 5px 5px 0;
    … …  
    9521093  height: 100%;
    9531094}
     1095
    9541096.wp-caption p.wp-caption-text {
    9551097  color: #888;
    … …  
    9571099  margin: 5px;
    9581100}
     1101
    9591102.wp-block-latest-comments__comment-meta a {
    9601103  color: #000;
    9611104}
     1105
    9621106/* ===============================================
    9631107    BLOCK CSS
    … …  
    9681112  border-radius: 30px;
    9691113}
    970 .sidebar-area
    971   .widget_search
    972   .wp-block-search__inside-wrapper
    973   .wp-block-search__input {
     1114
     1115.sidebar-area .widget_search .wp-block-search__inside-wrapper .wp-block-search__input {
    9741116  width: calc(100% - 110px);
    9751117  margin: 0;
    … …  
    9801122  border-radius: 30px;
    9811123}
     1124
    9821125.sidebar-area .widget_search button.wp-block-search__button.wp-element-button {
    9831126  background: var(--primary-theme-color);
    … …  
    10001143  transition: color 0.3s ease, background-color 0.3s ease;
    10011144}
     1145
    10021146.sidebar-area .widget_search button.wp-block-search__button:hover,
    10031147.sidebar-area .widget_search button.wp-block-search__button:focus {
    … …  
    10051149  text-decoration: none;
    10061150}
     1151
    10071152.sidebar-area .widget_search .wp-block-search__inside-wrapper {
    10081153  content: "";
    … …  
    10191164  color: #000;
    10201165}
     1166
    10211167.sidebar-area .wp-block-search label {
    10221168  display: inline;
    10231169}
     1170
    10241171.sidebar-area .widget_search label:before,
    10251172.sidebar-area .sidebar-widget.widget_block .wp-block-heading:before {
    … …  
    10341181  margin: auto;
    10351182}
     1183
    10361184.sidebar-area .widget_search label:after,
    10371185.sidebar-area .sidebar-widget.widget_block .wp-block-heading:after {
    … …  
    10471195  margin: auto;
    10481196}
     1197
    10491198.sidebar-area .wp-block-tag-cloud a,
    10501199.footer-area .wp-block-tag-cloud a,
    … …  
    10581207  border: solid 1px #e4e7ee;
    10591208}
     1209
    10601210.footer-area .wp-block-tag-cloud a {
    10611211  border: solid 1px #fff;
    10621212  color: #fff;
    10631213}
     1214
    10641215.sidebar-area .wp-block-tag-cloud a:before,
    10651216.footer-area .wp-block-tag-cloud a:before,
    … …  
    10671218  content: "#";
    10681219}
     1220
    10691221.sidebar-area .wp-block-tag-cloud a:hover,
    10701222.footer-area .wp-block-tag-cloud a:hover,
    … …  
    10731225  color: #fff;
    10741226}
     1227
    10751228.sidebar-area ol footer.wp-block-latest-comments__comment-meta {
    10761229  float: none !important;
    10771230}
     1231
    10781232.sidebar-area ol.wp-block-latest-comments {
    10791233  padding-right: 0px !important;
    … …  
    10821236  border: solid 1px #e4e7ee;
    10831237}
     1238
    10841239.footer-area .wp-block-heading {
    10851240  font-size: 30px;
    … …  
    10881243  word-wrap: break-word;
    10891244}
     1245
    10901246/* WOOCOMMERCE */
    10911247/* Cart */
    … …  
    10941250  margin-right: auto;
    10951251}
     1252
    10961253.wp-block-woocommerce-checkout.alignwide {
    10971254  margin-left: auto;
    10981255  margin-right: auto;
    10991256}
     1257
    11001258.wp-block-woocommerce-cart .wc-block-cart-items {
    11011259  border: 1px solid #dee2e6 !important;
    … …  
    11031261  padding: 10px;
    11041262}
     1263
    11051264.wp-block-woocommerce-cart-order-summary-block {
    11061265  border: 1px solid #dee2e6 !important;
    11071266  box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 9%);
    11081267}
     1268
    11091269.wp-block-woocommerce-cart-order-summary-heading-block {
    11101270  padding: 10px 20px !important;
    11111271  background: #f3f4f7 !important;
    11121272}
     1273
    11131274.wc-block-components-product-name {
    11141275  font-size: 20px;
    … …  
    11171278  color: #000 !important;
    11181279}
     1280
    11191281.wc-block-cart-items__header-image {
    11201282  padding-right: 16px !important;
    11211283}
     1284
    11221285.wc-block-cart-items__header-total {
    11231286  padding-left: 16px !important;
    11241287}
     1288
    11251289.wc-block-components-totals-coupon-link,
    11261290.wc-block-cart__submit-container a,
    … …  
    11461310  text-decoration: none !important;
    11471311}
     1312
    11481313.yith-wcwl-wishlistexistsbrowse a,
    11491314.yith-wcwl-wishlistaddedbrowse a {
    … …  
    11511316  color: #fff !important;
    11521317}
     1318
    11531319.yith-wcwl-add-to-wishlist.exists .yith-wcwl-wishlistaddedbrowse {
    11541320  display: inline-block !important;
    11551321}
     1322
    11561323.entry-summary .yith-wcwl-add-button a,
    11571324.entry-summary .yith-wcwl-wishlistexistsbrowse,
    … …  
    11591326  margin-bottom: 10px;
    11601327}
     1328
    11611329.wc-block-components-totals-coupon__form button {
    11621330  margin-top: 0px !important;
    11631331}
     1332
    11641333.entry-summary .yith-wcwl-add-button,
    11651334.products .yith-wcwl-add-button {
    … …  
    11671336  margin-bottom: 10px;
    11681337}
     1338
    11691339.wc-block-cart__submit-container a {
    11701340  margin-top: 20px;
    11711341}
     1342
    11721343.wc-block-components-totals-coupon-link:hover,
    11731344.wc-block-cart__submit-container:hover a,
    … …  
    11781349  background: #121212;
    11791350}
     1351
    11801352.wc-block-components-totals-coupon {
    11811353  text-align: center;
    11821354}
     1355
    11831356.wc-block-cart-items__header-product {
    11841357  background: #f3f4f7 !important;
    11851358}
     1359
    11861360.wc-block-cart-items__header th {
    11871361  padding: 10px 20px !important;
    11881362  font-size: 14px;
    11891363}
     1364
    11901365.wc-block-cart__totals-title {
    11911366  font-size: 14px !important;
    … …  
    11931368  text-align: center !important;
    11941369}
     1370
    11951371tr.wc-block-cart-items__row {
    11961372  padding: 15px 15px !important;
    11971373}
     1374
    11981375.wc-block-components-totals-item,
    11991376.wc-block-components-totals-item {
    … …  
    12011378  padding-left: 16px !important;
    12021379}
     1380
    12031381span.wp-block-woocommerce-cart-order-summary-heading-block.wc-block-cart__totals-title {
    12041382  display: block !important;
    12051383}
     1384
    12061385#commentform input[type="text"],
    12071386#commentform input[type="email"],
    … …  
    12171396  height: auto;
    12181397}
     1398
    12191399.woocommerce-message p {
    12201400  flex-basis: 55%;
    12211401}
     1402
    12221403.product .price ins,
    12231404.price .woocommerce-Price-amount.amount {
    … …  
    12251406  font-weight: 600;
    12261407}
     1408
    12271409.product .price del .woocommerce-Price-amount.amount {
    12281410  font-size: 18px !important;
    12291411  font-weight: 500 !important;
    12301412}
     1413
    12311414.product .price {
    12321415  margin: 10px 0px !important;
    12331416}
     1417
    12341418/* single product review form */
    12351419#reviews .comment-form {
    … …  
    12371421  flex-direction: column;
    12381422}
     1423
    12391424#reviews .comment-form-author {
    12401425  order: 1;
    12411426}
     1427
    12421428#reviews .comment-form-email {
    12431429  order: 2;
    12441430}
     1431
    12451432#reviews .comment-form-comment {
    12461433  order: 3;
    12471434}
     1435
    12481436#reviews .comment-form-cookies-consent {
    12491437  order: 4;
    12501438}
     1439
    12511440#reviews .form-submit {
    12521441  order: 5;
    … …  
    12571446  padding-right: 0;
    12581447}
     1448
    12591449.wishlist_table.mobile table {
    12601450  width: auto;
    12611451}
     1452
    12621453.wishlist_table.mobile li {
    12631454  padding: 15px;
    12641455  border: 1px solid rgba(0, 0, 0, 0.1);
    12651456}
     1457
    12661458.cart.wishlist_table .additional-info-wrapper {
    12671459  display: flex;
    … …  
    12691461  justify-content: space-around;
    12701462}
     1463
    12711464ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
    12721465  display: grid;
    … …  
    12741467  gap: 10px;
    12751468}
     1469
    12761470.wishlist_table.images_grid li .item-details table.item-details-table td.label,
    12771471.wishlist_table.mobile li .item-details table.item-details-table td.label,
    … …  
    12801474  font-size: 16px !important;
    12811475}
     1476
    12821477.wishlist_table.mobile li .item-details table.item-details-table td,
    12831478.additional-info .value {
    … …  
    12861481  font-family: "Exo 2", sans-serif;
    12871482}
     1483
    12881484.main-product-section .wishlist_view {
    12891485  display: block !important;
    12901486}
     1487
    12911488.share-button i::before {
    12921489  font-family: "FontAwesome";
    12931490}
     1491
    12941492.hidden-title-form button i,
    12951493.wishlist-title a.show-title-form i,
    … …  
    12981496.wishlist_table .add_to_cart.button i,
    12991497.wishlist_table .ask-an-estimate-button i,
    1300 .yith-wcwl-add-button > a i,
     1498.yith-wcwl-add-button>a i,
    13011499.yith-wcwl-wishlist-new button i,
    13021500.yith-wcwl-wishlist-search-form button.wishlist-search-button i {
    13031501  margin-left: 0px !important;
    13041502}
     1503
    13051504.wpr-grid-slider-dots {
    13061505  z-index: 9 !important;
    13071506}
     1507
    13081508.wishlist_table tr td,
    13091509.wishlist_table tr th.product-checkbox,
    … …  
    13111511  text-align: right !important;
    13121512}
     1513
    13131514/* Cart */
    13141515.wc-block-grid__product-title {
    … …  
    13171518  text-decoration: none !important;
    13181519}
     1520
    13191521a.wc-block-grid__product-link {
    13201522  text-decoration: none !important;
    13211523}
     1524
    13221525.wc-block-grid__product-price {
    13231526  color: var(--primary-theme-color) !important;
    … …  
    13251528  font-weight: 500 !important;
    13261529}
     1530
    13271531.wc-block-grid .wc-block-grid__product-onsale,
    13281532.wc-block-grid__product-image .wc-block-grid__product-onsale {
    … …  
    13381542  color: #fff !important;
    13391543}
     1544
    13401545.wc-block-grid__products .wc-block-grid__product-image img {
    13411546  width: 100% !important;
    13421547}
     1548
    13431549/* CHECKOUT */
    13441550.wp-block-woocommerce-checkout-order-summary-block {
    … …  
    13471553  box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 9%);
    13481554}
     1555
    13491556/* MY ACCOUNT */
    13501557
    … …  
    13541561  margin-bottom: 0;
    13551562}
     1563
    13561564nav.woocommerce-MyAccount-navigation ul li {
    13571565  padding: 10px;
    … …  
    13591567  background: var(--primary-theme-color);
    13601568}
     1569
    13611570nav.woocommerce-MyAccount-navigation ul li:hover {
    13621571  background: #121212;
    13631572}
     1573
    13641574nav.woocommerce-MyAccount-navigation ul li a {
    13651575  text-decoration: none;
    13661576  color: #fff;
    13671577}
     1578
    13681579/* MY ACCOUNT Address Button */
    13691580.woocommerce-Address-title a {
    … …  
    13761587  text-decoration: none !important;
    13771588}
     1589
    13781590header.woocommerce-Address-title.title {
    13791591  display: inline-grid;
    13801592  margin-bottom: 20px;
    13811593}
     1594
    13821595/* CHECKOUT */
    13831596.woocommerce form .form-row label,
    … …  
    13871600  width: 100%;
    13881601}
     1602
    13891603/* BUTTONS */
    13901604.woocommerce #respond input#submit.alt,
    … …  
    14021616  border-radius: 7px !important;
    14031617}
     1618
    14041619.woocommerce #respond input#submit.alt:hover,
    14051620.woocommerce a.button.alt:hover,
    … …  
    14141629  color: #fff;
    14151630}
     1631
    14161632.woocommerce a.added_to_cart {
    14171633  padding: 0.618em 1em;
    … …  
    14201636  border-radius: 0px;
    14211637}
     1638
    14221639/* SHOP & SINGLE PRODUCT */
    14231640
    … …  
    14341651  min-height: 2em !important;
    14351652}
     1653
    14361654.woocommerce span.onsale {
    14371655  right: 10px;
    14381656  left: auto;
    14391657}
     1658
    14401659h2.woocommerce-loop-product__title {
    14411660  font-size: 18px !important;
    14421661}
     1662
    14431663.woocommerce ul.products li.product .price,
    14441664.woocommerce div.product p.price,
    … …  
    14491669  font-size: 18px;
    14501670}
     1671
    14511672.woocommerce ul.products li.product .price ins,
    14521673.woocommerce div.product p.price ins,
    … …  
    14541675  text-decoration: none;
    14551676}
     1677
    14561678.woocommerce ul.products li.product,
    14571679.woocommerce-page ul.products li.product {
    14581680  text-align: center;
    14591681}
     1682
    14601683.woocommerce .quantity .qty {
    14611684  width: 9em;
    14621685  padding: 8px;
    14631686}
     1687
    14641688.woocommerce ul.products li.product .star-rating {
    14651689  font-size: 12px;
    … …  
    14741698  background: transparent;
    14751699}
     1700
    14761701.wp-block-button__link {
    14771702  color: #fff !important;
    … …  
    14791704  margin-bottom: 5px;
    14801705}
     1706
    14811707.wp-block-button.is-style-outline .wp-block-button__link {
    14821708  border: 1px solid var(--primary-theme-color);
    14831709  color: #121212 !important;
    14841710}
     1711
    14851712.wp-block-button.is-style-squared .wp-block-button__link {
    14861713  border-radius: 0px !important;
    14871714}
     1715
    14881716.product .add_to_cart_button.added {
    14891717  display: none !important;
    14901718}
     1719
    14911720/* shop page additional css */
    14921721.woocommerce ul.products li.product a img {
    … …  
    14971726  border-radius: 20px;
    14981727}
     1728
    14991729.woocommerce ul.products li.product,
    15001730.woocommerce-page ul.products li.product {
    … …  
    15031733  padding: 10px;
    15041734}
     1735
    15051736ul.products a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
    15061737a.added_to_cart.wc-forward {
    15071738  padding: 8px 28px;
    15081739}
     1740
    15091741ul.products h2.woocommerce-loop-product__title {
    15101742  color: var(--primary-theme-color);
    … …  
    15201752  font-weight: bold;
    15211753}
     1754
    15221755.woocommerce nav.woocommerce-pagination ul li a {
    15231756  display: block;
    … …  
    15321765  border-radius: 10px;
    15331766}
     1767
    15341768.woocommerce nav.woocommerce-pagination ul li a:hover {
    15351769  background: var(--primary-theme-color);
    … …  
    15431777  overflow: unset;
    15441778}
     1779
    15451780.woocommerce nav.woocommerce-pagination {
    15461781  text-align: center;
    15471782  margin-bottom: 20px;
    15481783}
     1784
    15491785/*  SINGLE POST */
    15501786.single-post-category span {
    … …  
    15521788  color: #5b5b5b;
    15531789}
     1790
    15541791.single-post-category .post-categories li,
    15551792.single-post-category ul {
    … …  
    15571794  padding-right: 0px;
    15581795}
     1796
    15591797.single-post-category .post-categories li a {
    15601798  margin-left: 8px;
    … …  
    15681806  line-height: 1;
    15691807}
     1808
    15701809.single-post-category .post-categories li a:hover {
    15711810  background: #000000;
    15721811}
     1812
    15731813/*scroll-to-top*/
    15741814.scroll-up {
    … …  
    15781818  z-index: 999;
    15791819}
     1820
    15801821.scroll-up a {
    15811822  background: var(--primary-theme-color);
    15821823  color: #ffffff;
    15831824}
     1825
    15841826.scroll-up a {
    15851827  display: block;
    … …  
    15951837  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    15961838}
     1839
    15971840.scroll-up i {
    15981841  line-height: 40px;
    … …  
    16121855  align-items: center;
    16131856}
     1857
    16141858.preloader {
    16151859  animation: move 0.5s ease infinite alternate;
    16161860}
     1861
    16171862.diamond {
    16181863  width: 60px;
    … …  
    16241869  align-items: center;
    16251870}
     1871
    16261872.diamond span {
    16271873  width: 60px;
    … …  
    16311877  right: 0;
    16321878}
     1879
    16331880.diamond span:nth-child(1) {
    16341881  border: 10px solid var(--primary-theme-color);
    … …  
    16371884  transform: rotateX(90deg) rotateZ(-45deg);
    16381885}
     1886
    16391887.diamond span:nth-child(2) {
    16401888  border: 6px solid var(--primary-theme-color);
    … …  
    16431891  transform: rotateX(90deg) rotateY(-90deg) rotateZ(-45deg);
    16441892}
     1893
    16451894.diamond span:last-child {
    16461895  border: 6px solid var(--primary-theme-color);
    … …  
    16491898  transform: rotateZ(-45deg);
    16501899}
     1900
    16511901@keyframes move {
    16521902  0% {
    16531903    transform: translateY(0) scaleY(0.9);
    16541904  }
     1905
    16551906  100% {
    16561907    transform: translateY(-70px) scaleY(1.1);
    16571908  }
    16581909}
     1910
    16591911@keyframes spin {
    16601912  0% {
    16611913    transform: translateY(-50%) rotateX(-15deg) rotateY(0deg);
    16621914  }
     1915
    16631916  100% {
    16641917    transform: translateY(-50%) rotateX(-15deg) rotateY(-180deg);
    16651918  }
    16661919}
     1920
    16671921.result-search #searchform {
    16681922  display: table;
    16691923}
     1924
    16701925.not-found-content #searchform {
    16711926  display: inline-block;
    16721927}
     1928
    16731929.footer-copyright a,
    16741930.footer-copyright p {
    16751931  color: #ffffff;
    16761932}
     1933
    16771934/* ===============================================
    16781935  Progress Bar
    … …  
    16851942  z-index: 99999;
    16861943}
     1944
    16871945#elemento-progress-bar.top {
    16881946  top: 0;
    16891947}
     1948
    16901949.admin-bar #elemento-progress-bar.top {
    16911950  top: 32px;
    16921951}
     1952
    16931953#elemento-progress-bar.bottom {
    16941954  bottom: 0;
    16951955}
     1956
    16961957/* ===============================================
    16971958   HOME PAGE CSS
    … …  
    17041965  gap: 20px;
    17051966}
     1967
    17061968.old-age-home-contact .form-group .input-with-icon {
    17071969  width: calc(25% - 15px);
    17081970  position: relative;
    17091971}
     1972
    17101973.old-age-home-contact .form-group .input-with-icon i {
    17111974  position: absolute;
    … …  
    17151978  top: 17px;
    17161979}
     1980
    17171981.old-age-home-contact .form-group .input-with-icon input,
    17181982.old-age-home-contact .form-group .input-with-icon select,
    … …  
    17281992  width: 100%;
    17291993}
     1994
    17301995.old-age-home-contact .wpcf7 form.invalid .wpcf7-response-output {
    17311996  color: #fff !important;
    17321997}
     1998
    17331999.old-age-home-contact .form-group .input-with-icon br {
    17342000  display: none;
    17352001}
     2002
    17362003.old-age-home-contact .form-group .input-with-icon select {
    17372004  height: 51px;
    17382005}
     2006
    17392007.old-age-home-contact .form-group .input-with-icon:nth-child(6) {
    17402008  width: calc(50% - 15px);
    … …  
    17452013  resize: none !important;
    17462014}
    1747 .old-age-home-contact .input-with-icon.form-button > p input {
     2015
     2016.old-age-home-contact .input-with-icon.form-button>p input {
    17482017  width: auto;
    17492018  background-color: #000000;
    17502019  color: #ffffff;
    17512020}
    1752 .old-age-home-contact .input-with-icon.form-button > p i {
     2021
     2022.old-age-home-contact .input-with-icon.form-button>p i {
    17532023  position: static;
    17542024}
    1755 .old-age-home-contact .input-with-icon.form-button > p {
     2025
     2026.old-age-home-contact .input-with-icon.form-button>p {
    17562027  width: 100%;
    17572028  padding: 0;
    … …  
    17642035  border-radius: 10px;
    17652036}
     2037
    17662038.old-age-home-contact .wpcf7-spinner {
    17672039  display: none !important;
    17682040}
     2041
    17692042.old-age-home-contact .input-with-icon.form-button {
    17702043  margin-top: 0;
    17712044}
     2045
    17722046.old-age-home-contact .product_img img {
    17732047  width: 100%;
    … …  
    17762050  object-position: top center;
    17772051}
     2052
    17782053.old-age-home-contact .form-button p i {
    17792054  background: #000000;
    … …  
    17852060  font-size: 18px;
    17862061}
     2062
    17872063.contact-after {
    17882064  position: relative;
    17892065}
     2066
    17902067.contact-after::after {
    17912068  position: absolute;
    … …  
    18002077  right: -30px;
    18012078}
     2079
    18022080.wpcf7-response-output,
    18032081.wpcf7-contact-form-not-found {
    18042082  color: #fff;
    18052083}
     2084
    18062085/* banner */
    18072086
    … …  
    18092088  overflow: visible;
    18102089}
     2090
    18112091.home_banner .bdt-prime-slider-skin-general {
    18122092  overflow: visible;
    18132093}
     2094
    18142095.home_banner .reveal-muted a.bdt-slidenav {
    18152096  width: 38px !important;
    … …  
    18192100  right: -81px;
    18202101}
     2102
    18212103.home_banner .reveal-muted a.bdt-slidenav svg {
    18222104  display: none;
    18232105}
     2106
    18242107.home_banner .reveal-muted a.bdt-slidenav::before {
    18252108  display: none;
    18262109}
     2110
    18272111.home_banner .reveal-muted a.bdt-prime-slider-next {
    18282112  margin-bottom: 108px;
    18292113}
     2114
    18302115.home_banner .reveal-muted a.bdt-slidenav::after {
    18312116  content: "\f061";
    … …  
    18342119  font-size: 20px;
    18352120}
     2121
    18362122.home_banner .reveal-muted a.bdt-prime-slider-previous::after {
    18372123  transform: rotate(-180deg);
    18382124}
     2125
    18392126.bdt-prime-slider-skin-general .bdt-prime-slider-social-icon {
    18402127  top: 15% !important;
    18412128  transform: translateY(0) !important;
    18422129}
     2130
    18432131.home_banner .bdt-prime-slider-skin-general ul.bdt-slideshow-items {
    18442132  border-radius: 30px;
    18452133}
     2134
    18462135.banner_btn {
    18472136  min-height: 100px;
    … …  
    18622151  transform: rotate(90deg);
    18632152}
     2153
    18642154.banner-btn-col::after,
    18652155.banner-btn-col::before {
    … …  
    18702160  background: transparent !important;
    18712161}
     2162
    18722163.banner-btn-col::after {
    18732164  border-top-right-radius: 40px;
    … …  
    18772168  left: -30px;
    18782169}
     2170
    18792171.banner-btn-col::before {
    18802172  border-top-right-radius: 40px !important;
    … …  
    18842176  right: 0px !important;
    18852177}
     2178
    18862179.happy_customer {
    18872180  width: max-content !important;
    18882181}
     2182
    18892183.happy_customer::after,
    18902184.happy_customer::before {
    … …  
    18952189  background: transparent !important;
    18962190}
     2191
    18972192.happy_customer::after {
    18982193  border-bottom-left-radius: 40px;
    … …  
    19022197  left: 0px;
    19032198}
     2199
    19042200.happy_customer::before {
    19052201  border-bottom-left-radius: 40px !important;
    … …  
    19092205  right: -30px !important;
    19102206}
     2207
    19112208.service-banner-btn .elementor-button-icon svg {
    19122209  color: #000000 !important;
    … …  
    19152212  fill: #000000 !important;
    19162213}
     2214
    19172215.service-banner-btn .elementor-button-icon {
    19182216  height: 30px;
    … …  
    19242222  border-radius: 4px;
    19252223}
     2224
    19262225.master-headding-sec {
    19272226  background: #0000;
    … …  
    19332232  width: 7vw !important;
    19342233}
     2234
    19352235.big_headding_title {
    19362236  -ms-transform: rotate(90deg);
    … …  
    19512251  direction: ltr;
    19522252}
    1953  /* Wide Block  */
    1954  
    1955  .alignwide {
    1956   margin-right  : -60px;
    1957   margin-left : -60px;
    1958 }
     2253
     2254/* ===============================================
     2255   Wide Block
     2256============================================= */
     2257
     2258.alignwide {
     2259  margin-right: -60px;
     2260  margin-left: -60px;
     2261}
     2262
    19592263.alignfull {
    1960   margin-right  : calc( -100vw / 2 + 100% / 2 );
    1961   margin-left : calc( -100vw / 2 + 100% / 2 );
    1962   max-width    : 100vw;
    1963 }
    1964 
     2264  margin-right: calc(-100vw / 2 + 100% / 2);
     2265  margin-left: calc(-100vw / 2 + 100% / 2);
     2266  max-width: 100vw;
     2267}
     2268
     2269/* ===============================================
     2270   Sticky Copyright
     2271============================================= */
     2272
     2273.sticky-copyright.footer-copyright {
     2274  position: fixed;
     2275  bottom: 0;
     2276  right: 0;
     2277  width: 100%;
     2278  z-index: 999;
     2279  transition: bottom 0.4s;
     2280  box-shadow: 0px 0px 8px #000000;
     2281}
     2282
     2283.close-sticky {
     2284  position: static;
     2285}
     2286
     2287/* ===============================================
     2288   Sticky Sidebar
     2289============================================= */
     2290
     2291.sidebar-sticky {
     2292  position: sticky;
     2293  top: 100px;
     2294  z-index: 999;
     2295}
  • old-age-home/0.2.4/style.css

    r307778 r310690  
    55Theme URI: https://www.wpelemento.com/products/free-senior-care-wordpress-theme
    66Author URI: https://www.wpelemento.com/
    7 Version: 0.2.3
     7Version: 0.2.4
    88Requires PHP: 5.6
    99Tested up to: 6.9
Note: See TracChangeset for help on using the changeset viewer.