remove old header thing
This commit is contained in:
parent
8fa673f907
commit
8037199dcf
|
@ -35,7 +35,7 @@ function boiler_widgets_init() {
|
|||
]);
|
||||
|
||||
register_sidebar([
|
||||
'name' => esc_html__( 'Sidebar Header', 'boiler' ),
|
||||
'name' => esc_html__( 'Menu Principal', 'boiler' ),
|
||||
'id' => 'dyn-side-header',
|
||||
'description' => esc_html__( 'Add widgets for header sidebar', 'boiler' ),
|
||||
'before_widget' => '<section class="widget">',
|
||||
|
@ -44,6 +44,14 @@ function boiler_widgets_init() {
|
|||
'after_title' => '</h2>',
|
||||
]);
|
||||
|
||||
register_sidebar([
|
||||
'name' => esc_html__( 'Logo Entête', 'boiler' ),
|
||||
'id' => 'dyn-head-logo',
|
||||
'description' => esc_html__( 'Add widgets for header sidebar', 'boiler' ),
|
||||
'before_widget' => '<section class="widget headlogo">',
|
||||
'after_widget' => '</section>',
|
||||
]);
|
||||
|
||||
register_sidebar([
|
||||
'name' => esc_html__( 'Sidebar Footer', 'boiler' ),
|
||||
'id' => 'dyn-side-footer',
|
||||
|
|
|
@ -10,13 +10,11 @@
|
|||
<body <?php body_class(); ?>>
|
||||
<div id="root" class="byl-root">
|
||||
|
||||
<header id="masthead" class="byl-header byl-centered byl-bloc">
|
||||
<h1 id="site-title">
|
||||
<a href="<?php bloginfo( 'url' ) ?>"><?php bloginfo( 'name' ); ?></a>
|
||||
</h1>
|
||||
<header id="masthead" class="byl-header byl-bloc">
|
||||
|
||||
<h2 id="tagline"><?php bloginfo( 'description' ); ?></h2>
|
||||
|
||||
|
||||
<?php dynamic_sidebar( 'dyn-head-logo' ); ?>
|
||||
<?php dynamic_sidebar( 'dyn-side-header' ); ?>
|
||||
|
||||
</header>
|
||||
|
|
|
@ -1,22 +1,3 @@
|
|||
@font-face {
|
||||
font-family: IrishU;
|
||||
src: url("https://cdn.indignation.info/fonts/IrishUncial.ttf");
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Axis;
|
||||
src: url("https://cdn.indignation.info/fonts/Axis.otf");
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Vollkorn;
|
||||
src: url("https://cdn.indignation.info/fonts/Vollkorn/Vollkorn-Regular.woff");
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: AvNext;
|
||||
src: url("https://file.brz9.dev/cdn/fonts/serv/AvenirNext/AvenirNext-Regular.woff2");
|
||||
|
@ -414,3 +395,19 @@ footer#main-footer .widget{
|
|||
img.jc-logo {
|
||||
width: 195px;
|
||||
}
|
||||
|
||||
|
||||
li.current-menu-item {
|
||||
text-decoration: underline;
|
||||
text-decoration-color: white;
|
||||
text-underline-offset: 10px; /* adjust as needed */
|
||||
text-decoration-thickness: 7px; /* adjust as needed */
|
||||
}
|
||||
|
||||
ul#menu-head li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul#menu-head {
|
||||
text-align: right;
|
||||
}
|
|
@ -3,5 +3,5 @@ $post_date = get_the_date( 'j F o' );
|
|||
$author = get_the_author();
|
||||
?>
|
||||
|
||||
<p>Publié le <?php echo $post_date ?> par <?php echo $author ?></p>
|
||||
<p class="post-pub-info">Publié le <?php echo $post_date ?> par <span class="post-author"><?php echo $author ?></span></p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue