CMFs design-noter og to-do til sig selv:-)
Boxed layout skal vælges i Total hvis menu skal centreres med content.
Full-width footer-udfordring… Fix fundet her: move-header-footer-outside-boxed-layout. Kode pastes ind i functions.php. I dette tilfælde er header fjernet fra outside-boxed-layout.
Backup af stylesheet 5. juni
/*------------------------------------ TYPOGRAFI -------------------------------------*/ h1{ font-size: 1.2em; margin:1.8em 0 1em; } p{ max-width: 485px;} /*------------------------------------ VENSTRE-MENU -------------------------------------*/ #site-header-inner { padding-top: 16px; padding-bottom: 30px; } /*.navbar-style-six #site-navigation { margin-top: 2.5em; padding: 0 25px 0 40px; border-color: white; }*/ body.wpex-has-vertical-header #site-header { background: #fff; width: 265px !important; height: 80%; box-shadow: 0 0 0px rgba(0,0,0,0.0); } /*===============================================*/ @media only screen and (min-width: 960px){ /*Minus skygge*/ body.wpex-has-vertical-header #site-header {box-shadow: none !important; } /*Current menu-farve*/ .navbar-style-six .dropdown-menu > .current-menu-item > a, .navbar-style-six .dropdown-menu > .current-menu-parent > a {color: #5da48a !important;} /*menu padding*/ .navbar-style-six .dropdown-menu > li > a {padding: 0.5em 0px;} /*logo afstand*/ body.wpex-has-vertical-header #site-logo { display: block; padding: 0 30px 36px 30px; } .navbar-style-six #site-navigation { border-color: white !important; margin-top: 2em; padding: 0 25px 0 40px; } body.wpex-has-vertical-header #site-header { background: #fff; width: 100%; height: 80%; box-shadow: 0 0 0px rgba(0,0,0,0.0); } #site-header-inner{ width: 100% !important; } } /*===============================================*/ #menu-item-19{ border-top: 1px !important; border-color: black !important; border-style: solid !important; } .sidr-class-mobile-menu-searchform { /* skjul search på mobilmenu*/ display: none; } /*------------------------------------ FOOTER -------------------------------------*/ #footer-callout-wrap{ display: none; } .site-footer .container { padding-top: 2em; } .footer-widget { padding-bottom: 40px; max-width: 850px !important; margin: 0 auto; } .kontakt{ margin: 0px 0px 20px 0px; display: block; width: 245px; float: left; font-size: 0.85em; line-height: 1.5em; color: #404040; /*padding-left: 15px;*/ } .kontakt h5{ font-size: 1em; color: #404040; margin: 0; font-weight: 900; letter-spacing: 0.04em; } .kontakt a{ color: #404040; } .kontakt a:hover{ color: #404040; text-decoration: underline; } .some { display: inline-block; background-color: rgba(255, 255,255, 0.6); width: 35px; height 35px; line-height: 35px; text-align: center; border-radius: 3px; font-size: 1.5em; color: #404040; margin-left: 15px; } .some a{color: #404040;} .some:hover{ color: #404040; background-color: rgba(255, 255,255, 0.9); } .some a:hover{ color: #404040; } /*===============================================*/ @media only screen and (max-width: 959px){ body.wpex-has-vertical-header #site-header { width: 100% !important; /*burgermenu*/ } } .boxed-main-layout #wrap .container { width: auto !important; max-width: none !important; padding-left: 15px; padding-right: 15px; }