diff --git a/pages/helpers/banner.css b/pages/helpers/banner.css index 85fd73f..42b1b73 100644 --- a/pages/helpers/banner.css +++ b/pages/helpers/banner.css @@ -4,7 +4,7 @@ .banner-top, .banner-middle, .banner-bottom { color: white; width: 100%; - /* height: 69px; TBD/TODO: Still testing this removal. */ + height: 69px; font-size: 50px; text-align: center; } @@ -21,3 +21,15 @@ .banner-bottom { background-color: #33CC33; } + + .banner-image { + background-position: center, center; + background-repeat: no-repeat; + height: 237px; /* 69*3[banner] + 15*2[padding] */ + } + .banner-image01 { + background-image: url("/files/media/icons/home.jpg"); + } + .banner-image02 { + background-image: url("/files/media/icons/contact.jpg"); + } diff --git a/pages/helpers/banner.php b/pages/helpers/banner.php index 3e79f69..5833a67 100755 --- a/pages/helpers/banner.php +++ b/pages/helpers/banner.php @@ -6,25 +6,32 @@ } $show_pics = $GLOBALS["SHOW_BANNER_PICS"]; $banner_width = $show_pics ? 6 : 12; + + // TBD / TODO: + // Check if user has vertical screen? + // Is that possible in this environment? + //$image_width = $vertical_screen ? 6 : 3; ?> +
- <<banner01.jpg>> + ';?> -
header"> +
header">
- <<banner02.jpg>> + ';?> +