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_0-1733862347364.png

 

i made some adjustments to the header widget with the following script to make the buttons collapse within the hamburger when minimized to a bigger 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 other pages

Ashley45_1-1733862347470.png

 

Ashley45_2-1733862347524.png

When i open the hamburger menu 

Ashley45_3-1733862530642.png

 

 

0 REPLIES 0