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>
|
||||
<main>
|
||||
|
|
|
@ -222,11 +222,20 @@
|
|||
|
||||
|
||||
.hero {
|
||||
border-top: 2px solid $primary-color;
|
||||
.slides {
|
||||
@include xy-grid();
|
||||
border-top: 2px solid $primary-color;
|
||||
.slide {
|
||||
@include xy-grid;
|
||||
&.widget {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
&.widget_media_image {
|
||||
justify-content: unset;
|
||||
align-content: stretch;
|
||||
}
|
||||
@include breakpoint(small){
|
||||
width: 100vw;
|
||||
margin: 0;
|
||||
|
|
|
@ -7,13 +7,10 @@
|
|||
*/
|
||||
|
||||
?>
|
||||
<section class="hero secondary">
|
||||
<main class="slides">
|
||||
<section class="hero hero-announcement">
|
||||
<?php dynamic_sidebar( 'announcement-widgets' ); ?>
|
||||
</main>
|
||||
<aside>
|
||||
<nav>
|
||||
<?php //inser menu hero here; ?>
|
||||
</nav>
|
||||
<?php //insert menu hero here; ?>
|
||||
<?php //foundationpress_hero_announcement_bar(); ?>
|
||||
</aside>
|
||||
</section>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
?>
|
||||
<section class="hero">
|
||||
<section class="hero hero-last">
|
||||
<!--main class="slides"-->
|
||||
<?php dynamic_sidebar( 'home-announcement-last-widgets' ); ?>
|
||||
<!--/main-->
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
?>
|
||||
<section class="hero">
|
||||
<section class="hero hero-main">
|
||||
<!--main class="slides"-->
|
||||
<?php dynamic_sidebar( 'home-announcement-widgets' ); ?>
|
||||
<!--/main-->
|
|
@ -7,10 +7,8 @@
|
|||
*/
|
||||
|
||||
?>
|
||||
<section class="hero">
|
||||
<!--main class="slides"-->
|
||||
<section class="hero hero-middle">
|
||||
<?php dynamic_sidebar( 'home-announcement-middle-widgets' ); ?>
|
||||
<!--/main-->
|
||||
<aside>
|
||||
<?php foundationpress_home_hero_middle_bar(); ?>
|
||||
</aside>
|
||||
|
|
Loading…
Reference in New Issue