fix the mobile responsive
This commit is contained in:
@@ -527,6 +527,28 @@ export default function Header() {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
/* Responsive logo adjustment on mobile/tablet */
|
||||
@media (max-width: 1024px) {
|
||||
#masthead .elementor-element.elementor-element-846e53d .hfe-site-logo .hfe-site-logo-container img {
|
||||
width: 150px !important;
|
||||
height: auto !important;
|
||||
margin-left: 20px !important;
|
||||
}
|
||||
#masthead .header-menu-container {
|
||||
display: none !important;
|
||||
}
|
||||
#masthead .menu-trigger {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
#masthead .elementor-element.elementor-element-846e53d .hfe-site-logo .hfe-site-logo-container img {
|
||||
width: 130px !important;
|
||||
margin-left: 10px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* The theme reveals the mobile slide-in menu via Elementor's
|
||||
body[data-elementor-device-mode="mobile"] rules, which are set by
|
||||
Elementor's frontend JS — that JS isn't shipped in this Next port,
|
||||
|
||||
Reference in New Issue
Block a user