diff --git a/functions.php b/functions.php
index 98aed9b..7fec4fc 100644
--- a/functions.php
+++ b/functions.php
@@ -11,7 +11,6 @@ function wp_theme_sen2_setup() {
add_theme_support('post-thumbnails');
add_theme_support('title-tag');
add_theme_support('automatic-feed-links');
- add_theme_support('html5', array('search-form', 'comment-form', 'comment-list', 'gallery', 'caption'));
}
add_action('after_setup_theme', 'wp_theme_sen2_setup');
diff --git a/header.php b/header.php
index dbd719c..cd604c6 100644
--- a/header.php
+++ b/header.php
@@ -49,5 +49,4 @@
-
-
+
diff --git a/style.css b/style.css
index fe07cd2..4120af6 100644
--- a/style.css
+++ b/style.css
@@ -1,6 +1,10 @@
/*
Theme Name: WP Theme SEN2
-Version: 1.5.0
+Version: 1.6.0
+Author: Nicolas Houzeau
+Author URI: https://ton-site.com
+Description: Un thème sobre et moderne pour portfolio photo, en blanc cassé. Compatible avec Envira Gallery.
+License: GNU General Public License v2 or later
*/
:root {
@@ -31,6 +35,7 @@ body {
.site-container {
display: flex;
flex: 1;
+ min-height: calc(100vh - 60px); /* 60px = hauteur du menu horizontal */
}
.sidebar {
@@ -50,8 +55,12 @@ body {
margin-left: 250px; /* Même largeur que le sidebar */
flex: 1;
padding: 30px;
+ width: calc(100% - 250px); /* Largeur calculée pour éviter le chevauchement */
+ min-height: calc(100vh - 60px);
+ overflow-y: auto;
}
+/* Menu horizontal en haut */
.main-navigation {
position: fixed;
top: 0;
@@ -87,9 +96,12 @@ body {
color: var(--secondary-color);
}
+/* Menu latéral */
.sidebar-header {
margin-bottom: 30px;
text-align: center;
+ border-bottom: 1px solid var(--medium-gray);
+ padding-bottom: 20px;
}
.site-author {
@@ -107,7 +119,6 @@ body {
font-style: italic;
}
-/* Menu latéral */
.sidebar-navigation {
margin-bottom: 30px;
}
@@ -179,7 +190,7 @@ body {
.main-content {
margin-left: 0;
- padding: 20px;
+ width: 100%;
}
.main-navigation ul {