renamed php templates and parts, created style to center content in widgets
This commit is contained in:
parent
f1c3fe37f0
commit
3373bf69b2
File diff suppressed because one or more lines are too long
|
@ -6,7 +6,7 @@ get_header(); ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php get_template_part( 'template-parts/home', 'announcement' ); ?>
|
<?php get_template_part( 'template-parts/home', 'announcement-main' ); ?>
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -222,11 +222,20 @@
|
||||||
|
|
||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
border-top: 2px solid $primary-color;
|
|
||||||
.slides {
|
.slides {
|
||||||
@include xy-grid();
|
@include xy-grid();
|
||||||
|
border-top: 2px solid $primary-color;
|
||||||
.slide {
|
.slide {
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
|
&.widget {
|
||||||
|
display: flex;
|
||||||
|
align-content: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
&.widget_media_image {
|
||||||
|
justify-content: unset;
|
||||||
|
align-content: stretch;
|
||||||
|
}
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -7,13 +7,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<section class="hero secondary">
|
<section class="hero hero-announcement">
|
||||||
<main class="slides">
|
|
||||||
<?php dynamic_sidebar( 'announcement-widgets' ); ?>
|
<?php dynamic_sidebar( 'announcement-widgets' ); ?>
|
||||||
</main>
|
|
||||||
<aside>
|
<aside>
|
||||||
<nav>
|
<?php //insert menu hero here; ?>
|
||||||
<?php //inser menu hero here; ?>
|
<?php //foundationpress_hero_announcement_bar(); ?>
|
||||||
</nav>
|
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<section class="hero">
|
<section class="hero hero-last">
|
||||||
<!--main class="slides"-->
|
<!--main class="slides"-->
|
||||||
<?php dynamic_sidebar( 'home-announcement-last-widgets' ); ?>
|
<?php dynamic_sidebar( 'home-announcement-last-widgets' ); ?>
|
||||||
<!--/main-->
|
<!--/main-->
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<section class="hero">
|
<section class="hero hero-main">
|
||||||
<!--main class="slides"-->
|
<!--main class="slides"-->
|
||||||
<?php dynamic_sidebar( 'home-announcement-widgets' ); ?>
|
<?php dynamic_sidebar( 'home-announcement-widgets' ); ?>
|
||||||
<!--/main-->
|
<!--/main-->
|
|
@ -7,10 +7,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<section class="hero">
|
<section class="hero hero-middle">
|
||||||
<!--main class="slides"-->
|
|
||||||
<?php dynamic_sidebar( 'home-announcement-middle-widgets' ); ?>
|
<?php dynamic_sidebar( 'home-announcement-middle-widgets' ); ?>
|
||||||
<!--/main-->
|
|
||||||
<aside>
|
<aside>
|
||||||
<?php foundationpress_home_hero_middle_bar(); ?>
|
<?php foundationpress_home_hero_middle_bar(); ?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
Loading…
Reference in New Issue