Skip to content

Commit fda73e2

Browse files
author
Max Harris
committed
tablet sizing
1 parent 25a448c commit fda73e2

File tree

4 files changed

+23
-28
lines changed

4 files changed

+23
-28
lines changed

themes/jolteon/css/app.css

Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/jolteon/css/app.min.css

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/jolteon/css/scss/06-components/_components.page-menu.scss

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@
2525
}
2626

2727
@include mq($from: desktop) {
28-
font-size: $font-size-base;
29-
}
30-
31-
@include mq($from: wide) {
32-
// font-size: $font-size-large;
3328
font-size: $font-size-base;
3429
}
3530
}
@@ -46,7 +41,7 @@
4641
}
4742
}
4843

49-
#tou-menu {
44+
#policies-menu {
5045
width: 100%;
5146

5247
.c-sticky-menu__list {
@@ -55,7 +50,7 @@
5550
}
5651

5752
.menu-item {
58-
@include mq($from: phablet) {
53+
@include mq($from: tablet) {
5954
width: 20%;
6055
}
6156

@@ -80,8 +75,8 @@
8075
justify-content: center;
8176
}
8277

83-
@include mq($from: desktop) {
84-
font-size: $font-size-base;
78+
@include mq($from: wide) {
79+
font-size: $font-size-large;
8580
}
8681
}
8782
}

themes/jolteon/parts/menu-secondary.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
22
global $post;
3-
$post_slug = $post->post_name;
3+
$post_data = get_post($post->post_parent);
4+
$parent_slug = $post_data->post_name;
45
?>
56

67
<nav id="page-menu" class="c-sticky-menu">
7-
<div class="container" id="<?php echo esc_attr($post_slug) . '-menu'; ?>">
8+
<div class="container" id="<?php echo esc_attr($parent_slug) . '-menu'; ?>">
89
<ul class="c-sticky-menu__list">
910
<?php
1011
wp_nav_menu(array(

0 commit comments

Comments
 (0)