🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 customizer-script.js

📁 Path: /home/stakrfrcol/agency/wp-content/themes/xhyre/includes/customizer-script.js
📊 Size: 16.74 KB
🔒 Perm: 0644
📝 MIME: text/plain
"use strict";
jQuery(window).on('load', function($) {
	wp.customize(
		'header-style',
		function(header_style) {
			var header_height		    = '100';
			var sticky_header_height    = '90';
			var header_bgcolor		    = 'transparent';
			var global_color		    = '#3870ff';
			var secondary_color		    = '#14355e';
			var light_bg_color		    = '#f0f2f4';
			var blackish_bg_color	    = '#122e50';
			var main_menu_typography    = {
				'font-family'	: 'Rethink Sans',
				'variant'		: '600',
				'font-size'		: '17px',
				'line-height'	: '24px',
				'letter-spacing': '0px',
				'color'			: '#122e50',
				'text-transform': 'capitalize',
				'font-backup'	: '',
				'font-style'	: 'normal',
			};
			var sticky_header_bgcolor			= 'white';
			var main_menu_active_color			= '#3870ff';
			var main_menu_sticky_color			= '#122e50';
			var main_menu_sticky_active_color   = '#3870ff';
			var preheader_enable				= false;
            var preheader_bgcolor				= 'transparent';
			var logo_height						= '40';
			var titlebar_height					= '550';
			var titlebar_bgcolor				= 'transparent';
			var titlebar_background				= 'transparent';
			var titlebar_heading_typography     = {
				'font-family'	: 'Rethink Sans',
				'variant'		: '600',
				'font-size'		: '60px',
				'line-height'	: '60px',
				'letter-spacing': '0px',
				'color'			: '#ffffff',
				'text-transform': 'none',
				'font-backup'	: '',
				'font-style'	:'normal',
			};
			var titlebar_subheading_typography = {
				'font-family'	: 'Rethink Sans',
				'variant'		: '600',
				'font-size'		: '16px',
				'line-height'	: '24px',
				'letter-spacing': '0px',
				'color'			: '#ffffff',
				'text-transform': 'capitalize',
				'font-backup'	: '',
				'font-style'	: 'normal',
			};
			var titlebar_breadcrumb_typography = {
				'font-family'	: 'Raleway',
				'variant'		: '500',
				'font-size'		: '16px',
				'line-height'	: '25px',
				'letter-spacing': '0.5px',
				'color'			: '#ffffff',
				'text-transform': 'capitalize',
				'font-backup'	: '',
				'font-style'	: 'normal',
			};
			var logo = pbmit_admin_js_variables.theme_path + '/images/logo.svg';
			var logo_white = pbmit_admin_js_variables.theme_path + '/images/logo-white.svg';
			header_style.bind(function(value) {

			if (value == '1') { // Default header style
				wp.customize('global-color').set(global_color);
				wp.customize('light-bg-color').set(light_bg_color);
				wp.customize('blackish-bg-color').set(blackish_bg_color);
				wp.customize('secondary-color').set(secondary_color);
				wp.customize('header-height').set(header_height);
				wp.customize('sticky-header-height').set(sticky_header_height);
				wp.customize('header-bgcolor').set(header_bgcolor);
				wp.customize('main-menu-typography').set(main_menu_typography);
				wp.customize('header-search').set(false);
				wp.customize('wc-show-cart-icon').set(false);
				wp.customize('sticky-header').set(false);
				wp.customize('sticky-header-height').set(header_height);
				wp.customize('sticky-header-bgcolor').set(sticky_header_bgcolor);
				wp.customize('main-menu-active-color').set(main_menu_active_color);
				wp.customize('main-menu-sticky-color').set(main_menu_sticky_color);
				wp.customize('main-menu-sticky-active-color').set(main_menu_sticky_active_color);
				wp.customize('preheader-enable').set(false);
				wp.customize('logo-height').set(logo_height);
				wp.customize('titlebar-height').set('300');
				wp.customize('titlebar-bgcolor').set('blackish');
				wp.customize('titlebar-background').set(titlebar_background);
				wp.customize('titlebar-heading-typography').set({
					'font-family'	: 'Rethink Sans',
                    'variant'		: '600',
                    'font-size'		: '60px',
                    'line-height'	: '60px',
                    'letter-spacing': '0px',
                    'color'			: '#ffffff',
                    'text-transform': 'none',
                    'font-backup'	: '',
                    'font-style'	:'normal',
				});
				wp.customize('titlebar-subheading-typography').set({
                    'font-family'	: 'Rethink Sans',
                    'variant'		: '600',
                    'font-size'		: '16px',
                    'line-height'	: '24px',
                    'letter-spacing': '0px',
                    'color'			: '#ffffff',
                    'text-transform': 'capitalize',
                    'font-backup'	: '',
                    'font-style'	: 'normal',
				});
				wp.customize('titlebar-breadcrumb-typography').set({
					'font-family'	: 'Raleway',
                    'variant'		: '500',
                    'font-size'		: '16px',
                    'line-height'	: '25px',
                    'letter-spacing': '0.5px',
                    'color'			: '#ffffff',
                    'text-transform': 'capitalize',
                    'font-backup'	: '',
                    'font-style'	: 'normal',
				});
				wp.customize('logo').set(logo);
				wp.customize('sticky-logo').set(logo);
			}   else if (value == '2') { // Header style 2
				wp.customize('global-color').set(global_color);
				wp.customize('light-bg-color').set(light_bg_color);
				wp.customize('blackish-bg-color').set(blackish_bg_color);
				wp.customize('secondary-color').set(secondary_color);
				wp.customize('header-height').set('90');
				wp.customize('sticky-header-height').set('85');
				wp.customize('logo-height').set(logo_height);
				wp.customize('header-bgcolor').set(header_bgcolor);
                wp.customize('main-menu-typography').set({
                    'font-family'	: 'Rethink Sans',
                    'variant'		: '600',
                    'font-size'		: '17px',
                    'line-height'	: '24px',
                    'letter-spacing': '0px',
                    'color'			: '#ffffff',
                    'text-transform': 'capitalize',
                    'font-backup'	: '',
                    'font-style'	: 'normal',
				});
				wp.customize('main-menu-active-color').set(main_menu_active_color);
				wp.customize('main-menu-sticky-color').set(main_menu_sticky_color);
				wp.customize('main-menu-sticky-active-color').set(main_menu_sticky_active_color);
				wp.customize('header-search').set(true);
				wp.customize('wc-show-cart-icon').set(true);
				wp.customize('sticky-header').set(true);
				wp.customize('preheader-enable').set(preheader_enable);
				wp.customize('header-btn-text').set('+0(123)456-789');
				wp.customize('header-btn-url').set('tel:+0(123)456-789');
				wp.customize('header-btn2-text').set('Book Consult');
				wp.customize('header-btn2-url').set('#');
				wp.customize('titlebar-height').set(titlebar_height);
				wp.customize('titlebar-bgcolor').set(titlebar_bgcolor);
                wp.customize('titlebar-background').set({
                    'background-repeat'		: 'no-repeat',
                    'background-position'	: 'center center',
                    'background-size'		: 'cover',
                    'background-attachment' : 'scroll',
                    'background-image'		: pbmit_admin_js_variables.theme_path + '/images/titlebar-bg.jpg',
                });
				wp.customize('titlebar-heading-typography').set(titlebar_heading_typography);
				wp.customize('titlebar-subheading-typography').set(titlebar_subheading_typography);
				wp.customize('titlebar-breadcrumb-typography').set(titlebar_breadcrumb_typography);
				wp.customize('logo').set(logo_white);
				wp.customize('sticky-logo').set(logo);
			}  else if (value == '3') { // Header style 3
				wp.customize('global-color').set(global_color);
				wp.customize('light-bg-color').set(light_bg_color);
				wp.customize('blackish-bg-color').set(blackish_bg_color);
				wp.customize('secondary-color').set(secondary_color);
				wp.customize('header-height').set('80');
				wp.customize('sticky-header-height').set('90');
				wp.customize('logo-height').set(logo_height);
				wp.customize('header-bgcolor').set(header_bgcolor);
				wp.customize('main-menu-typography').set({
                    'font-family'	: 'Rethink Sans',
                    'variant'		: '600',
                    'font-size'		: '17px',
                    'line-height'	: '24px',
                    'letter-spacing': '0px',
                    'color'			: '#ffffff',
                    'text-transform': 'capitalize',
                    'font-backup'	: '',
                    'font-style'	: 'normal',
				});
				wp.customize('main-menu-active-color').set(main_menu_active_color);
				wp.customize('main-menu-sticky-color').set(main_menu_sticky_color);
				wp.customize('main-menu-sticky-active-color').set(main_menu_sticky_active_color);
				wp.customize('header-search').set(true);
				wp.customize('wc-show-cart-icon').set(true);
				wp.customize('sticky-header').set(true);
                wp.customize('preheader-enable').set(true);
				wp.customize('preheader-bgcolor').set(preheader_bgcolor);
				wp.customize('preheader-text-color').set('white');
				wp.customize('preheader-left').set('<div class="pbmit-preheader-custom-text">Call us to know information. We are available at <span>09:30 AM - 10:00 PM</span></div>');
				wp.customize('preheader-right').set('<ul class="pbmit-contact-info"><li><a href="tel:+1(212)255-511"><i class="pbmit-base-icon-phone-1"></i>+1(212)255-511</a></li><li><a href="mailto:noreply@pbminfotech.com"><i class="pbmit-base-icon-telegram"></i>noreply@pbminfotech.com</li></ul>[pbmit-social-links]');
				wp.customize('header-btn-text').set('+0(123)456-789');
				wp.customize('header-btn-url').set('tel:+0(123)456-789');
				wp.customize('header-btn2-text').set('Book Consult');
				wp.customize('header-btn2-url').set('#');
				wp.customize('titlebar-height').set(titlebar_height);
				wp.customize('titlebar-bgcolor').set(titlebar_bgcolor);
                wp.customize('titlebar-background').set({
                    'background-repeat'		: 'no-repeat',
                    'background-position'	: 'center center',
                    'background-size'		: 'cover',
                    'background-attachment' : 'scroll',
                    'background-image'		: pbmit_admin_js_variables.theme_path + '/images/titlebar-bg.jpg',
                });
				wp.customize('titlebar-heading-typography').set(titlebar_heading_typography);
				wp.customize('titlebar-subheading-typography').set(titlebar_subheading_typography);
				wp.customize('titlebar-breadcrumb-typography').set(titlebar_breadcrumb_typography);
				wp.customize('logo').set(logo_white);
				wp.customize('sticky-logo').set(logo);
			}
			else if (value == '4') { // Header style 4
				wp.customize('global-color').set(global_color);
				wp.customize('light-bg-color').set(light_bg_color);
				wp.customize('blackish-bg-color').set(blackish_bg_color);
				wp.customize('secondary-color').set(secondary_color);
				wp.customize('header-height').set('70');
				wp.customize('sticky-header-height').set('70');
				wp.customize('logo-height').set(logo_height);
				wp.customize('header-bgcolor').set('blackish');
				wp.customize('main-menu-typography').set({
                    'font-family'	: 'Rethink Sans',
                    'variant'		: '600',
                    'font-size'		: '17px',
                    'line-height'	: '24px',
                    'letter-spacing': '0px',
                    'color'			: '#ffffff',
                    'text-transform': 'capitalize',
                    'font-backup'	: '',
                    'font-style'	: 'normal',
				});
				wp.customize('main-menu-active-color').set(main_menu_active_color);
				wp.customize('main-menu-sticky-color').set(main_menu_sticky_color);
				wp.customize('main-menu-sticky-active-color').set(main_menu_sticky_active_color);
				wp.customize('header-search').set(true);
				wp.customize('wc-show-cart-icon').set(true);
				wp.customize('sticky-header').set(true);
                wp.customize('preheader-enable').set(true);
				wp.customize('preheader-bgcolor').set(preheader_bgcolor);
				wp.customize('preheader-text-color').set('blackish');
				wp.customize('preheader-left').set('<div class="pbmit-preheader-custom-text">Call us to know information. We are available at <span>09:30 AM - 10:00 PM</span></div>');
				wp.customize('preheader-right').set('<ul class="pbmit-contact-info"><li><a href="tel:+1(212)255-511"><i class="pbmit-base-icon-phone-1"></i>+1(212)255-511</a></li><li><a href="mailto:noreply@pbminfotech.com"><i class="pbmit-base-icon-telegram"></i>noreply@pbminfotech.com</li></ul>[pbmit-social-links]');
				wp.customize('header-btn-text').set('+0(123)456-789');
				wp.customize('header-btn-url').set('tel:+0(123)456-789');
				wp.customize('header-btn2-text').set('Book Consult');
				wp.customize('header-btn2-url').set('#');
				wp.customize('titlebar-height').set(titlebar_height);
				wp.customize('titlebar-bgcolor').set(titlebar_bgcolor);
                wp.customize('titlebar-background').set({
                    'background-repeat'		: 'no-repeat',
                    'background-position'	: 'center center',
                    'background-size'		: 'cover',
                    'background-attachment' : 'scroll',
                    'background-image'		: pbmit_admin_js_variables.theme_path + '/images/titlebar-bg.jpg',
                });
				wp.customize('titlebar-heading-typography').set(titlebar_heading_typography);
				wp.customize('titlebar-subheading-typography').set(titlebar_subheading_typography);
				wp.customize('titlebar-breadcrumb-typography').set(titlebar_breadcrumb_typography);
				wp.customize('logo').set(logo_white);
				wp.customize('sticky-logo').set(logo);
			}	
		});
	});
    wp.customize(
		'footer-style',
		function(footer_style) {
			var global_color		= '#3870ff';
			var secondary_color		= '#14355e';
			var light_bg_color		= '#f0f2f4';
			var white_color			= '#ffffff';
			var footer_bgcolor		= 'blackish';
			var footer_text_color	= 'white';
			var h3_typography		= {
				'font-family'			: 'Rethink Sans',
				'variant'				: '600',
				'font-size'				: '30px',
				'line-height'			: '34px',
				'letter-spacing'		: '0px',
				'color'					: '#ffffff',
				'text-transform'		: 'none',
				'font-backup'			: '',
				'font-style'			: 'normal',
			};
			var footer_column	    = '3-3-3-3';
			var footer_widget_heading_typography	= {
                'font-family'			: 'Rethink Sans',
				'variant'				: '600',
				'font-size'				: '16px',
				'line-height'			: '26px',
				'letter-spacing'		: '0px',
				'color'					: '#ffffff',
				'text-transform'		: 'capitalize',
				'font-backup'			: '',
				'font-style'			: 'normal',
			};
			var footer_enable = true;

			footer_style.bind(function(value) {
				if (value == '1') { // Default footer style 1
					wp.customize('global-color').set(global_color);
					wp.customize('footer-bgcolor').set(footer_bgcolor);
					wp.customize('footer-background').set({
						'background-repeat'		: 'no-repeat',
						'background-position'	: 'left bottom',
						'background-size'		: 'auto',
						'background-attachment' : 'scroll',
						'background-image'		: '',
					});
					wp.customize('footer-text-color').set(footer_text_color);
					wp.customize('h3-typography').set(h3_typography);
					wp.customize('footer-enable').set(footer_enable);
					wp.customize('footer-column').set(footer_column);
					wp.customize('footer-widget-heading-typography').set(footer_widget_heading_typography);
					wp.customize('copyright-text').set('© 2024<a href="#">PBM Infotech</a>');
					wp.customize('footer-copyright-right-content').set('none');

				}   else if (value == '2') { // footer style 2
					wp.customize('global-color').set(global_color);
					wp.customize('footer-bgcolor').set(footer_bgcolor);
					wp.customize('footer-background').set({
						'background-repeat'		: 'no-repeat',
						'background-position'	: 'left bottom',
						'background-size'		: 'auto',
						'background-attachment' : 'scroll',
						'background-image'		: '',
					});
					wp.customize('footer-text-color').set(footer_text_color);
					wp.customize('h3-typography').set(h3_typography);
					wp.customize('footer-boxes-area').set(true);
					wp.customize('footer-left-area-heading').set('Subscribe Our Newsletter');
					wp.customize('footer-left-area-desc').set('Subscribe to receive news & updates in your inbox.');
					wp.customize('footer-mailchimp-id').set('[mc4wp_form id=189]');
                    wp.customize('footer-right-area-heading').set('Download Our App');
					wp.customize('footer-right-area-desc').set('Employers to post jobs and review candidate applications.');
					wp.customize('footer-btn-text1').set('Google Play');
                    wp.customize('footer-btn-url1').set('#');
                    wp.customize('footer-btn-text1').set('App Store');
                    wp.customize('footer-btn-url1').set('#');
                    wp.customize('footer-column').set('2-2-2-6');
					wp.customize('footer-widget-heading-typography').set(footer_widget_heading_typography);
					wp.customize('copyright-text').set('Copyright © 2024 <a href="#">PBM Infotech</a> All Rights Reserved.');
					wp.customize('footer-copyright-right-content').set('none');
				}
			});
		}
	);
}); // window.load
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨