Skip to content

Commit 40ae6c1

Browse files
committed
stylized appointment button
1 parent 884899e commit 40ae6c1

File tree

2 files changed

+30
-7
lines changed

2 files changed

+30
-7
lines changed

wp-content/themes/aasgw/inc/template-tags.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,14 @@ function book_appointment_menu() {
268268
if (has_nav_menu('book')) {
269269
wp_nav_menu(
270270
array(
271-
'theme_location' => 'book',
272-
'container' => 'div',
273-
'container_id' => 'menu-book',
274-
'container_class' => 'menu-book-items',
275-
'menu_class' => 'menu-items',
276-
'depth' => 1,
277-
'fallback_cb' => '',
271+
'theme_location' => 'book',
272+
'container' => 'div',
273+
'container_id' => 'menu-book',
274+
'container_class' => 'menu-book',
275+
'menu_id' => 'menu-book-items',
276+
'menu_class' => 'menu-items',
277+
'depth' => 1,
278+
'fallback_cb' => '',
278279
));
279280
}
280281
}

wp-content/themes/aasgw/style.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,28 @@ a:active {
580580
display: none;
581581
}
582582

583+
.menu-book ul{
584+
float: right;
585+
text-align: center;
586+
list-style: none;
587+
margin-right: 80px;
588+
}
589+
590+
.menu-book ul li{
591+
position: relative;
592+
display: inline-block;
593+
}
594+
595+
.menu-book li a{
596+
display: inline-block;
597+
padding: .3em;
598+
font-size: 20px;
599+
vertical-align: top;
600+
background: #ffca72;
601+
color: #444;
602+
}
603+
604+
583605
@media screen and (max-width: 600px) {
584606
.menu-toggle{
585607
display:block;

0 commit comments

Comments
 (0)