The CreatorCon Call for Content is officially open! Get started here.

SP Header collapse

Ashley45
Tera Contributor

When my window is minimized above 768 px my buttons would overlap my img

Ashley45_1-1733781475889.png

i made some adjustments to the header widget with the following script to make the buttons collapse within the hamburger when minimzed to a biiger screen size. THIS WORKED however, if i go to any other page in the portal other things start overlapping.

Here is what fixed the landing page

@media (max-width: 1275px) {
.navbar-header {
float: none;
}
.navbar-left,.navbar-right {
float: none !important;
}
.navbar-toggle {
display: block;
}
.navbar-collapse {
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
.navbar-collapse.collapse {
display: none!important;
}
.navbar-nav {
float: none!important;
margin-top: 7.5px;
}
.navbar-nav>li {
float: none;
}
.navbar-nav>li>a {
padding-top: 10px;
padding-bottom: 10px;
}
.collapse.in{
display:block !important;
}
}

 

This is how it looks on others

Ashley45_2-1733781701947.pngAshley45_3-1733781778494.png

 

0 REPLIES 0