Compare commits
2 Commits
3f95a27421
...
7f10b47251
Author | SHA1 | Date | |
---|---|---|---|
7f10b47251 | |||
624b906393 |
@ -78,4 +78,3 @@ function setHeaderClasses() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const navItems = document.querySelectorAll('.st-header-icon-bar__item');
|
const navItems = document.querySelectorAll('.st-header-icon-bar__item');
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@ add_action('after_setup_theme', 'slowtwitch_theme_support');
|
|||||||
function slowtwitch_theme_support() {
|
function slowtwitch_theme_support() {
|
||||||
add_theme_support( 'title-tag' );
|
add_theme_support( 'title-tag' );
|
||||||
add_theme_support( 'align-wide' );
|
add_theme_support( 'align-wide' );
|
||||||
|
add_theme_support( 'responsive-embeds' );
|
||||||
}
|
}
|
||||||
|
|
||||||
// enqueue styles
|
// enqueue styles
|
||||||
|
17
style.css
17
style.css
@ -1173,6 +1173,23 @@ COMPONENTS
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-block-embed.is-type-video iframe {
|
||||||
|
width: 100%;
|
||||||
|
height: 231px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 760px) {
|
||||||
|
.wp-block-embed.is-type-video iframe {
|
||||||
|
height: 360px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1200px) {
|
||||||
|
.wp-block-embed.is-type-video iframe {
|
||||||
|
height: 562px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.st-article-section-related-articles {
|
.st-article-section-related-articles {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
Loading…
Reference in New Issue
Block a user