...
  View open merge request
Commits (8)
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js no-svg">
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content"><?php _e('Skip to content', 'twentyseventeen'); ?></a>
<header id="masthead" class="site-header" role="banner">
<?php get_template_part('template-parts/header', 'image'); ?>
<?php if (has_nav_menu('top')) : ?>
<div class="navigation-top">
<div class="wrap">
<?php get_template_part('template-parts/navigation/navigation', 'top'); ?>
</div><!-- .wrap -->
</div><!-- .navigation-top -->
<?php endif; ?>
</header><!-- #masthead -->
<?php
/*
* If a regular post or page, and not the front page, show the featured image.
* Using get_queried_object_id() here since the $post global may not be set before a call to the_post().
*/
if ((is_single() || (is_page() && !twentyseventeen_is_frontpage())) && has_post_thumbnail(get_queried_object_id())) :
echo '<div class="single-featured-image-header">';
echo get_the_post_thumbnail(get_queried_object_id(), 'twentyseventeen-featured-image');
echo '</div><!-- .single-featured-image-header -->';
endif;
?>
<div class="site-content-contain">
<div id="content" class="site-content">
<div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
<?php if (function_exists('bcn_display')) {
if (!is_front_page()) {
bcn_display();
}
} ?>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
xml:space="preserve"
width="593.75"
height="251.25"
viewBox="0 0 593.75 251.25"
sodipodi:docname="logo ADULLACT_sansTexte.svg"><metadata
id="metadata8"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs6"><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath16"><path
d="M 0,201 475,201 475,0 0,0 0,201 Z"
id="path18"
inkscape:connector-curvature="0" /></clipPath></defs><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1315"
inkscape:window-height="911"
id="namedview4"
showgrid="false"
inkscape:zoom="1.4181053"
inkscape:cx="338.87981"
inkscape:cy="97.319094"
inkscape:window-x="65"
inkscape:window-y="24"
inkscape:window-maximized="0"
inkscape:current-layer="g10" /><g
id="g10"
inkscape:groupmode="layer"
inkscape:label="logo ADULLACT_sansTexte"
transform="matrix(1.25,0,0,-1.25,0,251.25)"><g
id="g12"><g
id="g14"
clip-path="url(#clipPath16)"><g
id="g20"
transform="translate(183.0972,141.6836)"><path
d="M 0,0 C 43.675,9.461 108.854,-31.493 109.933,-29.884 139.377,13.983 223.609,40.983 223.609,40.983 151.574,40.047 114.423,-3.092 114.423,-3.092 36.148,12.119 0,0 0,0"
style="fill:#bfcfed;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path22"
inkscape:connector-curvature="0" /></g><g
id="g24"
transform="translate(63.27,70.1865)"><path
d="m 0,0 c 0,0 0.081,5.728 0.634,10.983 0.277,2.511 0.979,9.651 0.979,9.651 0,0 -3.686,-6.434 -6.049,-10.513 C -6.746,6.198 -8.304,3.608 -10.668,0 L 0,0 Z m 11.839,32.639 -0.817,-54.686 -11.767,0 0.417,12.945 -16.003,0 -8.104,-12.945 -11.453,0 35.882,54.686 11.845,0 z"
style="fill:#6092d4;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path26"
inkscape:connector-curvature="0" /></g><g
id="g28"
transform="translate(100.2222,57.084)"><path
d="m 0,0 5.883,0 c 7.218,0 12.346,5.57 16.141,17.104 2.091,6.355 3.298,11.69 2.289,15.299 -0.823,2.982 -2.817,4.55 -7.131,4.55 l -5.021,0 L 0,0 Z m 14.844,45.584 c 3.138,0 7.244,-0.157 9.389,-0.314 4.499,-0.392 7.932,-2.119 10.142,-5.414 3.394,-4.943 3.528,-11.925 0.3,-21.732 C 32.223,10.67 28.275,4.158 22.962,-0.785 18.195,-5.257 12.351,-8.238 7.123,-8.631 5.031,-8.787 2.391,-8.944 -0.825,-8.944 l -13.258,0 17.945,54.528 10.982,0 z"
style="fill:#6092d4;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path30"
inkscape:connector-curvature="0" /></g><g
id="g32"
transform="translate(170.7646,102.668)"><path
d="m 0,0 -11.799,-35.855 c -1.111,-3.374 -1.442,-5.335 -1.202,-6.512 0.455,-2.433 2.605,-3.767 6.213,-3.767 4.785,0 8.619,2.355 10.407,6.356 0.544,1.176 0.802,1.962 1.757,4.864 L 16.866,0 28.005,0 15.922,-36.719 c -1.704,-5.177 -2.118,-6.198 -3.677,-8.552 -2.832,-4.315 -10.129,-10.277 -21.896,-10.277 -8.315,0 -13.608,2.51 -15.092,7.296 -0.875,2.825 -0.701,5.022 1.029,10.278 L -11.217,0 0,0 Z"
style="fill:#6092d4;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path34"
inkscape:connector-curvature="0" /></g><g
id="g36"
transform="translate(228.7383,102.668)"><path
d="m 0,0 -14.949,-45.427 19.533,0 -4.957,-9.101 -28.789,0 L -11.218,0 0,0 Z"
style="fill:#6092d4;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path38"
inkscape:connector-curvature="0" /></g><g
id="g40"
transform="translate(270.8652,102.668)"><path
d="m 0,0 -14.949,-45.427 19.532,0 -4.956,-9.101 -28.789,0 L -11.218,0 0,0 Z"
style="fill:#6092d4;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path42"
inkscape:connector-curvature="0" /></g><g
id="g44"
transform="translate(316.4238,70.1865)"><path
d="m 0,0 c 0,0 0.08,5.728 0.634,10.983 0.276,2.511 0.978,9.651 0.978,9.651 0,0 -3.685,-6.434 -6.048,-10.513 C -6.746,6.198 -8.305,3.608 -10.669,0 L 0,0 Z m 11.839,32.639 -0.817,-54.686 -11.767,0 0.417,12.945 -16.003,0 -8.105,-12.945 -11.453,0 35.882,54.686 11.846,0 z"
style="fill:#176fc1;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path46"
inkscape:connector-curvature="0" /></g><g
id="g48"
transform="translate(382.2188,92.0762)"><path
d="m 0,0 c -2.074,2.04 -4.642,3.06 -7.7,3.06 -3.688,0 -7.89,-1.805 -10.806,-4.707 -3.151,-3.139 -5.59,-7.69 -7.682,-14.044 -2.453,-7.455 -3.193,-11.613 -2.527,-14.594 0.88,-4.001 3.791,-6.119 8.498,-6.119 3.216,0 6.429,0.941 10.497,3.53 l 2.748,-6.904 c -5.476,-3.531 -10.621,-5.1 -16.818,-5.1 -7.53,0 -12.535,2.432 -15.328,7.532 -2.767,4.943 -2.794,11.533 -0.161,19.535 2.247,6.827 5.205,12.241 9.264,16.948 6.844,7.924 16.238,12.632 25.024,12.632 5.412,0 10.257,-1.727 12.386,-4.316 L 0,0 Z"
style="fill:#176fc1;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path50"
inkscape:connector-curvature="0" /></g><g
id="g52"
transform="translate(438.8135,102.668)"><path
d="m 0,0 -4.799,-9.102 -13.022,0 -14.95,-45.426 -11.138,0 14.949,45.426 -13.336,0 L -39.301,0 0,0 Z"
style="fill:#176fc1;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path54"
inkscape:connector-curvature="0" /></g></g></g></g></svg>
\ No newline at end of file
......@@ -27,6 +27,14 @@
color: #4891bf;
}
/*************************************************************/
/*header*/
/*************************************************************/
#logo-adullact-big, #logo-adullact-small {
max-width: 400px;
}
/*************************************************************/
/*Liste des adhérents*/
/*************************************************************/
......@@ -303,6 +311,6 @@ que comme cela
}
#adullact-contact-informations {
text-align:center;
padding:7px;
text-align: center;
padding: 7px;
}
\ No newline at end of file
<?php
/**
* Displays header media
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/
?>
<div class="custom-header">
<div class="custom-header-media">
<?php the_custom_header_markup(); ?>
</div>
<?php get_template_part( 'template-parts/site', 'branding' ); ?>
</div><!-- .custom-header -->
<?php
/**
* Displays header site branding
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/
$themes_path = get_theme_root_uri();
$theme_name = "theme-wordpress-adullact-org";
$logo_name = "logo_adullact_small.svg";
$adullact_logo_directory = $themes_path . "/" . $theme_name . "/media/adullact/" . $logo_name;
?>
<div class="site-branding">
<div class="wrap">
<?php the_custom_logo(); ?>
<div class="site-branding-text">
<?php if (is_front_page()) : ?>
<h1 class="site-title">
<a href="<?php echo esc_url(home_url('/')); ?>" rel="home">
<img id="logo-adullact-big" src="<?php echo $adullact_logo_directory ?>" alt="Adullact">
</a>
</h1>
<?php else : ?>
<p class="site-title">
<a href="<?php echo esc_url(home_url('/')); ?>" rel="home">
<img id="logo-adullact-small" src="<?php echo $adullact_logo_directory ?>" alt="Adullact">
</a>
</p>
<?php endif; ?>
<?php
$description = get_bloginfo('description', 'display');
if ($description || is_customize_preview()) :
?>
<p class="site-description"><?php echo $description; ?></p>
<?php endif; ?>
</div><!-- .site-branding-text -->
<?php if ((twentyseventeen_is_frontpage() || (is_home() && is_front_page())) && !has_nav_menu('top')) : ?>
<a href="#content"
class="menu-scroll-down"><?php echo twentyseventeen_get_svg(array('icon' => 'arrow-right')); ?><span
class="screen-reader-text"><?php _e('Scroll down to content', 'twentyseventeen'); ?></span></a>
<?php endif; ?>
</div><!-- .wrap -->
</div><!-- .site-branding -->