mods in scss and menu walker
This commit is contained in:
parent
229cd78fb1
commit
09b6f74c41
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'Foundationpress_Home_Hero_Bar_Walker' ) ) :
|
if ( ! class_exists( 'Foundationpress_Home_Hero_Bar_Walker' ) ) :
|
||||||
class Foundationpress_Top_Bar_Walker extends Walker_Nav_Menu {
|
class Foundationpress_Home_Hero_Bar_Walker extends Walker_Nav_Menu {
|
||||||
function start_lvl( &$output, $depth = 0, $args = array() ) {
|
function start_lvl( &$output, $depth = 0, $args = array() ) {
|
||||||
$indent = str_repeat( "\t", $depth );
|
$indent = str_repeat( "\t", $depth );
|
||||||
$output .= "\n$indent<ul class=\"menu\">\n";
|
$output .= "\n$indent<ul class=\"menu\">\n";
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
// 1. Global
|
// 1. Global
|
||||||
// ---------
|
// ---------
|
||||||
|
|
||||||
$global-font-size: rem-calc(1.5);
|
$global-font-size:1.5rem;
|
||||||
$global-width: 100vw;
|
$global-width: 100vw;
|
||||||
$global-lineheight: 1.5;
|
$global-lineheight: 1.5;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ header nav,
|
||||||
{
|
{
|
||||||
font-variant:all-small-caps;
|
font-variant:all-small-caps;
|
||||||
a {
|
a {
|
||||||
color: $body-font-color;
|
color: #000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue