More BS4 preparations
This commit is contained in:
parent
27dd486939
commit
4d472ca8c2
2337
css/theme.css
2337
css/theme.css
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -66,7 +66,7 @@ class wp_bootstrap_navwalker extends Walker_Nav_Menu {
|
||||||
$class_names = $value = '';
|
$class_names = $value = '';
|
||||||
|
|
||||||
$classes = empty( $item->classes ) ? array() : (array) $item->classes;
|
$classes = empty( $item->classes ) ? array() : (array) $item->classes;
|
||||||
$classes[] = 'menu-item-' . $item->ID;
|
$classes[] = 'nav-item menu-item-' . $item->ID;
|
||||||
|
|
||||||
$class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) );
|
$class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) );
|
||||||
|
|
||||||
|
|
|
@ -61,12 +61,15 @@ img.wp-post-image, article img, figure {
|
||||||
// Skip to content link
|
// Skip to content link
|
||||||
a.skip-link{
|
a.skip-link{
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
margin-bottom: -20px;
|
position: fixed;
|
||||||
position: relative;
|
top: 0px;
|
||||||
display: block;
|
right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset Jumbotron default margin
|
// Reset Jumbotron default margin
|
||||||
.jumbotron {
|
.jumbotron {
|
||||||
margin-bottom:0px;
|
margin-bottom:0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Bootstrap3 to Bootstrap4 "translation"
|
||||||
|
.menu-item {float:left; width:auto; display:inline;}
|
||||||
|
|
Reference in New Issue