From: Ian Weller Date: Tue, 10 Feb 2015 21:21:02 +0000 (-0500) Subject: php modifications X-Git-Tag: v1.0.1~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=6400321f76865ef60bf372fb6c86454fadda8de1;p=WP-Themes%2Fgilmoremuseum.git php modifications --- diff --git a/front-page.php b/front-page.php index a748b9e..c163b49 100644 --- a/front-page.php +++ b/front-page.php @@ -5,10 +5,10 @@
- - - - + + + +
@@ -21,7 +21,7 @@

News

- +

Sunday, June 7, 2015

Classic Car Club of
American Museum
"Grand Experience"

Saturday, June 13, 2015

Pre-Show Vintage
Motorcycle Ride

Sunday, June 14, 2015

One Example Event

@@ -31,21 +31,21 @@

Upcoming Events

- +

Pint with the Past
Saturday, February 14th
7:00pm - 10:00pm

Under the Hood
February 27, 2015 - March 1, 2015
Open during regular GCM hours

Cars and Canvas
Sunday, March 15th
2:00pm - 6:00pm

-
+

Featured Partner

- +

Did you know we have 7 onsite partner museums?

Our featured partner this month is the H.H. Franklin Club. This permanent exhibit includes automobiles, engines, and artifacts that span the four-decade history of the H.H. Franklin Company.

- \ No newline at end of file + diff --git a/functions.php b/functions.php index d64446b..6fdb898 100644 --- a/functions.php +++ b/functions.php @@ -21,7 +21,7 @@ function glm_page_menu($parent = 0, $class = '') foreach ($pages as $page) { $childs = get_pages('child_of=' . $page->ID); if (count($childs) > 0) { - echo '
  • '."\n"; + echo '
  • '."\n"; echo ''.$page->post_title.''."\n"; echo glm_page_menu($page->ID, 'sub-menu dropdown'); echo '
  • '."\n"; diff --git a/header.php b/header.php index ffc5522..5f4a9b4 100644 --- a/header.php +++ b/header.php @@ -22,7 +22,7 @@ diff --git a/page.php b/page.php index 9a803bf..d9446c6 100644 --- a/page.php +++ b/page.php @@ -1,10 +1,13 @@
    - + "; + bcn_display(); + echo "
    "; + } + ?>
    @@ -15,4 +18,4 @@
    - \ No newline at end of file + diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..ed9a25d Binary files /dev/null and b/screenshot.png differ diff --git a/scss/_structure.scss b/scss/_structure.scss index 06a5494..26ffd31 100644 --- a/scss/_structure.scss +++ b/scss/_structure.scss @@ -84,7 +84,7 @@ header { } .top-bar { @include gradient(#c54d38, #b71b1f); - border-bottom: 4px solid $white; + border-bottom: 2px solid $white; box-shadow: 0 5px 5px 0 $black; .top-bar-section { background: transparent; @@ -117,67 +117,19 @@ header { content: none; } } - &.drop_left { + &.drop { & .dropdown { - padding-left: 248px; + padding-left: 20px; padding-right: 20px; background: $white; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; - min-height: 200px; + li { white-space: nowrap; background: $white; border-bottom-right-radius: 10px; - &.nav_img-container { - img { - position: absolute; - left: 20px; - top: 23px; - border: 6px solid #fdefd4; - box-shadow: 2px 3px 9px 0px #ababab; - } - } - &:not(.has-form):not(.active) { - a:not(.button) { - color: $black; - background: transparent; - } - } - &:hover:not(.has-form):not(.active) { - a:not(.button) { - color: $red; - background: transparent; - } - } - a { - border-bottom: 1px solid #e7e7e8; - } - } - } - } - &.drop_right { - & .dropdown { - padding-left: 248px; - padding-right: 20px; - right: -1%; - left: auto; - background: $white; - border-bottom-left-radius: 10px; - border-bottom-right-radius: 10px; - min-height: 200px; - li { - white-space: nowrap; - background: $white; - &.nav_img-container { - img { - position: absolute; - left: 20px; - top: 23px; - border: 6px solid #fdefd4; - box-shadow: 2px 3px 9px 0px #ababab; - } - } + &:not(.has-form):not(.active) { a:not(.button) { color: $black; @@ -226,13 +178,15 @@ header { } .left-off-canvas-menu { .left-off-canvas-list { - list-style: none; - li { - a { - color: $white; - } - ul { - list-style: none; + ul { + list-style: none; + li { + a { + color: $white; + } + ul { + list-style: none; + } } } } @@ -289,7 +243,7 @@ header { } text-align: center; } - #partners { + #partner { h3 { background: $black; padding: 10px 0; @@ -299,7 +253,7 @@ header { width: 100%; } label { - margin-top: 55px; + margin-top: 85px; } text-align: center; } @@ -330,21 +284,13 @@ header { margin-top: 0; border: none; font-size: 10px; - a { + & > * { color: #b1b3b5; - } - #current-crumb { font-weight: bold; + a { + color: #b1b3b5; + } } - & > *:before { - content: ">"; - color: $red; - } - & > :first-child:before { - content: " "; - margin: 0; - } - } .main { img { @@ -359,7 +305,7 @@ header { background: #9fa617; text-align: center; margin-bottom: 0; - padding: 5px 0; + padding: 10px 0; } ul { list-style: none; @@ -367,7 +313,7 @@ header { li { border-bottom: 1px solid $white; background: #c5c974; - padding: 5px 0 5px 15px; + padding: 2px 0 2px 15px; a { color: $black; text-transform: uppercase; @@ -383,6 +329,7 @@ header { color: $white; background: #c8b776; text-align: center; + padding: 11px 0; margin-bottom: 8px; } diff --git a/sidebar.php b/sidebar.php index 930cb22..862cf2e 100644 --- a/sidebar.php +++ b/sidebar.php @@ -1,15 +1,8 @@ \ No newline at end of file +