diff --git a/themes/api.jquery.com/single.php b/themes/api.jquery.com/single.php index 328fe1fd..d96e522e 100644 --- a/themes/api.jquery.com/single.php +++ b/themes/api.jquery.com/single.php @@ -4,5 +4,12 @@ */ get_header(); + +
+ + i +   This version is End-of-Life. Read more about support options here. +
+ get_template_part( 'single', 'api' ); get_footer(); diff --git a/themes/api.jquery.com/style.css b/themes/api.jquery.com/style.css index 0e8a6999..9360801d 100755 --- a/themes/api.jquery.com/style.css +++ b/themes/api.jquery.com/style.css @@ -34,3 +34,12 @@ a { margin-top: 0; padding-left: 1em; } + +/* Support warning at top of API pages */ + +#support-warning-box { + padding-top: 8px; + padding-left: 8px; + padding-bottom: 8px; + display: flex; +} diff --git a/themes/jquery.com/style.css b/themes/jquery.com/style.css index 20a06b38..3c89dea8 100755 --- a/themes/jquery.com/style.css +++ b/themes/jquery.com/style.css @@ -94,7 +94,9 @@ a, margin-right: 0.5em; } #content #banner-secondary .download-main .support-notice { + padding-top: 8px; font-size: 12px; + line-height: 1.4em; } .resources { diff --git a/themes/jquery/css/base.css b/themes/jquery/css/base.css index 4d10ca0e..e1490d16 100644 --- a/themes/jquery/css/base.css +++ b/themes/jquery/css/base.css @@ -881,6 +881,24 @@ iframe { margin: 0; } +/* Support message + ========================================================================== */ + + #support-message { + display: flex; + justify-content: center; + background-color: #dddddd; + padding: 4px 4px; + font-size: 15px; + } + #support-message span { + text-align: center; + padding-left: 20px; + padding-right: 20px; + } + #support-message span a { + color: #222; + } /* Global Nav ========================================================================== */ diff --git a/themes/jquery/header.php b/themes/jquery/header.php index 91843438..8feee404 100755 --- a/themes/jquery/header.php +++ b/themes/jquery/header.php @@ -34,6 +34,12 @@ > + +
+ jQuery 4 is currently in beta. Soon jQuery 3 will reach EOL along with versions 1 and 2. Learn more about our Version Support. +
+ +