Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagolamonte committed Sep 4, 2024
2 parents 6d63da8 + a896ef8 commit acee0fe
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 12 deletions.
20 changes: 10 additions & 10 deletions themes/midia-ninja-theme/assets/javascript/functionalities/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,17 +206,17 @@ document.addEventListener("DOMContentLoaded", function() {

//menu-hamburger-especiais

var menuButtonEspecial = document.querySelector('.menu-especial .menu-especial__button');
var menuEspecial = document.querySelector('.menu-especial .menu-especial__links ul.menu');
// var menuButtonEspecial = document.querySelector('.menu-especial .menu-especial__button');
// var menuEspecial = document.querySelector('.menu-especial .menu-especial__links ul.menu');

menuButtonEspecial.addEventListener("click", function() {
// menuButtonEspecial.addEventListener("click", function() {

menuButtonEspecial.classList.toggle('active');
// menuButtonEspecial.classList.toggle('active');

if (menuEspecial.style.display === "block") {
menuEspecial.style.display = "none";
} else {
menuEspecial.style.display = "block";
}
});
// if (menuEspecial.style.display === "block") {
// menuEspecial.style.display = "none";
// } else {
// menuEspecial.style.display = "block";
// }
// });
})
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@

.single-especial{

.main-header{
@media(max-width: 992px){
.primary-menu{
display: none;
}
}
}

#app{
@media(max-width: 992px){
padding-top: 7rem;
}
.container{
.post-content{
.wp-block-columns{
Expand Down Expand Up @@ -86,8 +97,21 @@
}
}
}
.menu-especial{
ul{
@media(max-width: 992px){
display: flex;
flex-wrap: nowrap;
overflow: scroll;
white-space: nowrap;
padding-bottom: 5px;
}
}
}
}



&.especial-paris-2024{
#news-olimpica{
.wp-block-cover__inner-container{
Expand Down
2 changes: 1 addition & 1 deletion themes/midia-ninja-theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://hacklab.com.br/
Author: Hacklab
Author URI: https://hacklab.com.br/
Description: Tema base para desenvolvimento de novos sites.
Version: 1.1.42
Version: 1.1.43
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<?= wp_get_attachment_image( $especial_menu['logo_mobile'], 'medium', true ) ?>
</a>

<button class="menu-especial__button hide-desktop">&#9776;</button>
<!-- <button class="menu-especial__button hide-desktop">&#9776;</button> -->

<nav class="menu-especial__links">
<?php wp_nav_menu( [ 'menu' => intval( $especial_menu['id'] ) ] ) ?>
Expand Down

0 comments on commit acee0fe

Please sign in to comment.