I had installed a onepage menu on this website:
But now it doesn’t work anymore. I had also saved a custom CSS file because that was needed at the time to get it to work. My assumption is that it was overwritten after an update. At the time I didn’t succeed in getting it to work with a child theme. Now I’m completely lost, help would be really appreciated!
I added this custom CSS then:
/*
// Base.
*/
h1, h2, h3, h4, h5, h6 {
line-height: 1.2 !important;
}
.h-resp-main {
max-width: 15em;
margin: 0;
}
.h-resp-main.cs-ta-center {
margin-left: auto;
margin-right: auto;
}
.h-sup {
display: block;
margin-right: -0.15em;
margin-bottom: 0.5em;
font-family: “Open Sans”, sans-serif;
font-size: 0.3em;
font-weight: 300;
letter-spacing: 0.15em;
line-height: 1.6 !important;
text-transform: uppercase;
color: inherit;
}
.h-resp-main > span {
display: block;
}
.h-resp-main a {
display: block;
padding: 10px 0px;
margin-right: -0.15em;
margin-bottom: 1em;
font-family: “Open Sans”, sans-serif;
font-size: 0.675em;
font-weight: 300;
letter-spacing: 0.15em;
line-height: 1.5 !important;
text-transform: uppercase;
color: #e44065;
}
.h-custom-headline hr {
width: 50%;
max-width: 300px;
height: 3px;
margin: 1.5em 0 0;
border: 0;
font-size: 0.3em;
background-color: #e44065;
}
.h-custom-headline.cs-ta-center hr {
margin-left: auto;
margin-right: auto;
}
.h-custom-headline p,
.h-custom-headline br {
display: none;
}
/*
// Header.
*/
.x-navbar .desktop .x-nav > li > a:hover > span,
.x-navbar .desktop .x-nav > li.x-active > a > span,
.x-navbar .desktop .x-nav > li.current-menu-item > a > span {
box-shadow: none;
}
/*
// Buttons.
*/
.x-btn {
padding: 0.65em 1.25em !important;
font-weight: 700 !important;
text-shadow: none !important;
}
/*
// Background Overlay.
*/
.x-bnb-bg-overlay {
position: relative;
overflow: hidden;
}
.x-bnb-bg-overlay:before {
content: “”;
display: block;
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
background-color: rgba(0, 0, 0, 0.75);
}
/*
// Image Grid.
*/
.x-bnb-image-grid {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
-webkit-justify-content: space-between;
justify-content: space-between;
-webkit-align-items: stretch;
align-items: stretch;
margin: -10px;
}
.x-bnb-image-grid > a {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: column nowrap;
flex-flow: column nowrap;
-webkit-justify-content: flex-end;
justify-content: flex-end;
-webkit-align-items: flex-start;
align-items: flex-start;
-webkit-flex: 1 1 360px;
flex: 1 1 360px;
overflow: hidden;
position: relative;
z-index: 1;
margin: 10px;
min-height: 300px;
font-size: 2rem;
box-shadow: 0 0.25em 1.5em rgba(0, 0, 0, 0.35);
}
.x-bnb-image-grid > a:before {
content: “”;
display: block;
position: absolute;
z-index: -1;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
background-color: rgba(21, 21, 21, 0.65);
transition: background-color 0.5s ease;
}
.x-bnb-image-grid > a:hover:before,
.x-bnb-image-grid > a:focus:before {
background-color: rgba(21, 21, 21, 0.35);
}
.x-bnb-image-grid > a:hover > .bg,
.x-bnb-image-grid > a:focus > .bg {
transform: scale(1.1);
}
.x-bnb-image-grid > a:hover > div > small,
.x-bnb-image-grid > a:focus > div > small {
color: #ffffff;
}
.x-bnb-image-grid > a > .bg {
display: block;
position: absolute;
z-index: -2;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-position: 50% 50%;
background-size: cover;
transition: transform 0.5s ease;
}
.x-bnb-image-grid > a > div {
width: 100%;
padding: 1em;
font-size: 1em;
line-height: 1;
}
.x-bnb-image-grid > a > div > span {
display: block;
overflow: hidden;
font-size: 1em;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
color: #ffffff;
}
.x-bnb-image-grid > a > div > small {
display: block;
overflow: hidden;
margin: 0.35em 0 0;
font-size: 0.575em;
font-weight: 700;
letter-spacing: 0.065em;
line-height: 1.4;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: nowrap;
color: #ffffff;
transition: color 0.5s ease;
}
.x-scroll-top {
border: 2px solid red;
color: red;
opacity: 1;
filter: alpha(opacity=100);
zoom: 1;
}
.page-template-template-blank-1-php .x-slider-container.below, .page-template-template-blank-2-php .x-slider-container.below, .page-template-template-blank-3-php .x-slider-container.below, .page-template-template-blank-4-php .x-slider-container.below, .page-template-template-blank-5-php .x-slider-container.below, .page-template-template-blank-6-php .x-slider-container.below {
border-bottom: none;
}
}