Making WordPress.org


Ignore:
Timestamp:
01/18/2018 12:01:54 AM (7 years ago)
Author:
netweb
Message:

BuddyPress.org: Add BuddyPress 2018 Survey Banner

Props mercime.
Fixes #3294.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/header.php

    r4629 r6393  
    88
    99    <div id="header">
     10        <style type="text/css">
     11            @media screen and (max-width:768px) { .survey-wrapper { margin-bottom:20px; } #header-inner {height:82px} }
     12            .survey-wrapper { width: 100%; position: absolute; }
     13            .survey-div { font-family: 'Open Sans', Helvetica, Arial, 'Liberation Sans', sans-serif; font-weight: 600; display: block; margin: 0 auto; font-size: 13px; color: #fff; height: 24px; width: 245px; text-align:center !important; background-color: rgba(0, 0, 0, 0.8); border-radius: 0 0 4px 4px; }
     14            .survey-div a { color: #fff; font-weight: 500; display: block; }
     15            .survey-div a:hover { text-decoration: none; }
     16            #wpadminbar { top: 82px; }
     17            #main {  margin-top: 120px; }
     18            @media screen and (max-width:360px) { .survey-div { width: 100%; } }
     19        </style>
     20        <div class="survey-wrapper"><div class="survey-div">
     21            <a href="https://mercime.polldaddy.com/s/buddypress-2018-survey">Take the 2018 BuddyPress Survey &rarr;</a>
     22        </div></div>
    1023        <div id="header-inner">
    1124        <?php get_template_part( 'header', 'nav' ); ?>
Note: See TracChangeset for help on using the changeset viewer.