Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions themes/osi/assets/css/editor-style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion themes/osi/assets/css/editor-style.css.map

Large diffs are not rendered by default.

49 changes: 0 additions & 49 deletions themes/osi/assets/scss/_8_overrides.templates.scss
Original file line number Diff line number Diff line change
Expand Up @@ -494,55 +494,6 @@ footer.ai-footer {
.ai-def-header .wp-block-coblocks-hero__inner {
height: 850px;
}
// Secondary Nav
.ai-secondary-navbar-wrapper {
background-color: #fff;
border-bottom: 1px solid #ddd;
padding: 10px 0;
position: sticky;
top: 90px; // adjust as needed
z-index: 999;
}
.ai-secondary-nav-menu {
display: flex;
justify-content: center;
gap: 40px;
list-style: none;
margin: 0;
padding: 0;
padding-top: 10px;
font-size: 10px;
li {
display: inline-block;
}
}
// Hide mobile label by default (desktop)
.ai-mobile-label {
display: none;
}
// Mobile-specific styles (not using "force override" block)
@media (max-width: 768px) {
.ai-secondary-mobile-wrapper {
margin-top: 10px;
padding-top: 0;
}
.ai-mobile-label {
display: block;
color: #bbb;
font-size: 13px;
text-transform: uppercase;
padding: 8px 20px 4px;
margin: 0;
letter-spacing: 0.5px;
text-align: right;
}
.ai-secondary-mobile-menu {
margin-top: 0;
li {
padding: 10px 20px;
}
}
}
.jetpack-social-navigation {
height: 40px;
margin: 0;
Expand Down
1 change: 0 additions & 1 deletion themes/osi/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ function osi_handle_supporter_form_flamingo_spam_status_change( string $new_stat
*/
function osi_register_ai_menu() {
register_nav_menu( 'ai', __( 'AI Menu', 'osi' ) );
register_nav_menu( 'ai_secondary_nav', __( 'AI Secondary Navigation', 'osi' ) );
}
add_action( 'after_setup_theme', 'osi_register_ai_menu' );

Expand Down
13 changes: 0 additions & 13 deletions themes/osi/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,6 @@
)
);
endif;
//Adding for AI template - secondary navigation
if ( is_page_template( 'templates/ai-wide.php' ) ) :
echo '<p class="ai-mobile-label">' . esc_html__( 'Open Source AI', 'osi' ) . '</p>';
wp_nav_menu(
array(
'theme_location' => 'ai_secondary_nav',
'menu' => 'AI secondary nav',
'container' => false,
'container_class' => 'ai-secondary-nav',
'menu_class' => 'ai-secondary-nav-menu',
)
);
endif;
?>
<?php
$osi_cta = osi_menu_cta();
Expand Down
46 changes: 0 additions & 46 deletions themes/osi/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion themes/osi/style.css.map

Large diffs are not rendered by default.

Loading