Making WordPress.org


Ignore:
Timestamp:
11/16/2016 03:18:14 PM (8 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress.org: Add survey link to codex.buddypress.org header template.

Props mercime. See #2212.

File:
1 edited

Legend:

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

    r4367 r4369  
    99    <div id="header">
    1010        <style type="text/css">
    11             @media screen and (max-width:768px) { .survey-wrapper { margin-bottom:20px; } #header-inner {height:102px} }
     11            @media screen and (max-width:768px) { .survey-wrapper { margin-bottom:20px; } #header-inner {height:82px} }
    1212            .survey-wrapper { width: 100%; position: absolute; }
    1313            .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; }
    1414            .survey-div a { color: #fff; font-weight: 500; display: block; }
    1515            .survey-div a:hover { text-decoration: none; }
    16             #wpadminbar { top: 103px; }
    17             #subnav { background: transparent; border-bottom: 0; margin-top: 160px; }
     16            #wpadminbar { top: 82px; }
     17            #main {  margin-top: 120px; }
    1818            @media screen and (max-width:360px) { .survey-div { width: 100%; } }
    1919        </style>
     
    2828    <hr class="hidden" />
    2929
    30 <?php get_template_part( 'header', 'front'  ); ?>
    31 <?php get_template_part( 'header', 'subnav' ); ?>
     30<?php get_template_part( 'header', 'front' ); ?>
    3231
    3332    <div id="main">
    3433        <div class="content">
     34
     35<?php codex_get_breadcrumb();
Note: See TracChangeset for help on using the changeset viewer.