| Server IP : 172.67.159.97 / Your IP : 216.73.217.154 Web Server : nginx/1.24.0 System : Linux wordpress-sites 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/rebeccaone.com/wp-content/themes/x/framework/legacy/cranium/headers/output/ |
Upload File : |
<?php
// =============================================================================
// FUNCTIONS/GLOBAL/ADMIN/CUSTOMIZER/OUTPUT/MASTHEAD.PHP
// -----------------------------------------------------------------------------
// Global CSS output for the masthead.
// =============================================================================
// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
// 01. Body Layout
// 02. Widgetbar
// 03. Navbar
// 04. Navbar - Wrapper
// 05. Navbar - Inner Container
// 06. Navbar - Logo and Navigation Layout
// 07. Navbar - Brand
// 08. Navbar - Navigation
// 09. Responsive Styling
// =============================================================================
?>
/* Body Layout
// ========================================================================== */
<?php if ( $x_navbar_positioning == 'fixed-left' ) : ?>
body.x-navbar-fixed-left-active {
padding-left: <?php echo $x_navbar_width; ?>;
}
<?php endif; ?>
<?php if ( $x_navbar_positioning == 'fixed-right' ) : ?>
body.x-navbar-fixed-right-active {
padding-right: <?php echo $x_navbar_width; ?>;
}
<?php endif; ?>
/* Widgetbar
// ========================================================================== */
<?php if ( $x_header_widget_areas != 0 ) : ?>
.x-btn-widgetbar {
border-top-color: <?php echo $x_widgetbar_button_background; ?>;
border-right-color: <?php echo $x_widgetbar_button_background; ?>;
}
.x-btn-widgetbar:hover {
border-top-color: <?php echo $x_widgetbar_button_background_hover; ?>;
border-right-color: <?php echo $x_widgetbar_button_background_hover; ?>;
}
<?php endif; ?>
/* Navbar
// ========================================================================== */
<?php if ( $x_navbar_positioning == 'fixed-left' || $x_navbar_positioning == 'fixed-right' ) : ?>
.x-navbar {
width: <?php echo $x_navbar_width; ?>;
}
<?php endif; ?>
/* Navbar - Wrapper
// ========================================================================== */
<?php if ( $x_navbar_positioning == 'fixed-top' ) : ?>
body.x-navbar-fixed-top-active .x-navbar-wrap {
height: <?php echo $x_navbar_height; ?>;
}
<?php endif; ?>
/* Navbar - Inner Container
// ========================================================================== */
.x-navbar-inner {
min-height: <?php echo $x_navbar_height; ?>;
}
/* Navbar - Logo and Navigation Layout
// ========================================================================== */
<?php if ( $x_logo_navigation_layout == 'stacked' ) : ?>
.x-logobar-inner {
padding-top: <?php echo $x_logobar_adjust_spacing_top; ?>;
padding-bottom: <?php echo $x_logobar_adjust_spacing_bottom; ?>;
}
<?php endif; ?>
/* Navbar - Brand
// ========================================================================== */
.x-brand {
<?php if ( ( $x_navbar_positioning == 'static-top' || $x_navbar_positioning == 'fixed-top' ) && $x_logo_navigation_layout == 'inline' ) : ?>
margin-top: <?php echo $x_logo_adjust_navbar_top; ?>;
<?php endif; ?>
<?php if ( $x_navbar_positioning == 'fixed-left' || $x_navbar_positioning == 'fixed-right' ) : ?>
margin-top: <?php echo $x_logo_adjust_navbar_side; ?>;
<?php endif; ?>
font-family: <?php echo $x_logo_font_stack; ?>;
font-size: <?php echo $x_logo_font_size; ?>;
font-style: <?php echo ( $x_logo_font_is_italic ) ? 'italic' : 'normal'; ?>;
font-weight: <?php echo $x_logo_font_weight; ?>;
letter-spacing: <?php echo $x_logo_letter_spacing; ?>;
<?php if ( $x_logo_uppercase_enable == '1' ) : ?>
text-transform: uppercase;
<?php endif; ?>
color: <?php echo $x_logo_font_color; ?>;
}
.x-brand:hover,
.x-brand:focus {
color: <?php echo $x_logo_font_color; ?>;
}
<?php if ( $x_logo_width != '' ) : ?>
.x-brand img {
width: calc(<?php echo $x_logo_width; ?> / 2);
}
<?php endif; ?>
/* Navbar - Navigation
// ========================================================================== */
.x-navbar .x-nav-wrap .x-nav > li > a {
font-family: <?php echo $x_navbar_font_stack; ?>;
font-style: <?php echo ( $x_navbar_font_is_italic ) ? 'italic' : 'normal'; ?>;
font-weight: <?php echo $x_navbar_font_weight; ?>;
letter-spacing: <?php echo $x_navbar_letter_spacing; ?>;
<?php if ( x_get_option( 'x_navbar_uppercase_enable' ) == '1' ) : ?>
text-transform: uppercase;
<?php endif; ?>
}
.x-navbar .desktop .x-nav > li > a {
font-size: <?php echo $x_navbar_font_size; ?>;
}
<?php if ( $x_navbar_positioning == 'static-top' || $x_navbar_positioning == 'fixed-top' ) : ?>
.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
padding-left: <?php echo $x_navbar_adjust_links_top_spacing; ?>;
padding-right: <?php echo $x_navbar_adjust_links_top_spacing; ?>;
}
<?php endif; ?>
<?php if ( $x_stack != 'icon' ) : ?>
.x-navbar .desktop .x-nav > li > a > span {
margin-right: -<?php echo $x_navbar_letter_spacing; ?>;
}
<?php else : ?>
.x-navbar .desktop .x-nav > li > a > span {
padding-right: calc(1.25em - <?php echo $x_navbar_letter_spacing; ?>);
}
<?php endif; ?>
.x-btn-navbar {
margin-top: <?php echo $x_navbar_adjust_button; ?>;
}
.x-btn-navbar,
.x-btn-navbar.collapsed {
font-size: <?php echo $x_navbar_adjust_button_size; ?>;
}
/* Responsive Styling
// ========================================================================== */
<?php if ( $x_fixed_menu_scroll == 'overflow-scroll' && ( $x_navbar_positioning == 'fixed-left' || $x_navbar_positioning == 'fixed-right' ) ) : ?>
@media (min-width: 980px) {
.x-navbar {
overflow-y: auto;
}
}
<?php endif; ?>
@media (max-width: 979px) {
<?php if ( $x_navbar_positioning == 'fixed-left' || $x_navbar_positioning == 'fixed-right' ) : ?>
body.x-navbar-fixed-left-active,
body.x-navbar-fixed-right-active {
padding: 0;
}
.x-navbar {
width: auto;
}
.x-navbar .x-navbar-inner > .x-container.width {
width: <?php echo $x_layout_site_width; ?>;
}
.x-brand {
margin-top: <?php echo $x_logo_adjust_navbar_top; ?>;
}
<?php endif; ?>
<?php if ( $x_navbar_positioning == 'fixed-top' && $x_layout_site == 'boxed' ) : ?>
.x-navbar.x-navbar-fixed-top.x-container.max.width {
left: 0;
right: 0;
width: 100%;
}
<?php endif; ?>
<?php if ( $x_navbar_positioning == 'fixed-top' ) : ?>
body.x-navbar-fixed-top-active .x-navbar-wrap {
height: auto;
}
<?php endif; ?>
.x-widgetbar {
left: 0;
right: 0;
}
}