Making WordPress.org

Changeset 7917


Ignore:
Timestamp:
11/29/2018 06:41:39 AM (6 years ago)
Author:
coffee2code
Message:

Breathe: Show breadcrumbs for handbook pages.

See #3965.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/single-handbook.php

    r4792 r7917  
    1919</div>
    2020<?php } ?>
     21
     22<?php do_action( 'handbook_breadcrumbs' ); ?>
    2123
    2224<div id="primary" class="content-area">
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r7857 r7917  
    10451045}
    10461046
     1047.handbook-breadcrumbs {
     1048    position: absolute;
     1049    top: 4rem;
     1050    left: 280px;
     1051    font-size: 1.25rem;
     1052}
     1053
     1054.single-handbook .handbook-breadcrumbs ~ #primary {
     1055    padding-top: 8rem;
     1056}
     1057
     1058.single-handbook .handbook-name-container ~ .handbook-breadcrumbs {
     1059    top: 5rem;
     1060}
     1061
     1062.single-handbook .handbook-name-container ~ .handbook-breadcrumbs ~ #primary {
     1063    padding-top: 10rem;
     1064}
     1065
     1066@media (max-width: 875px) {
     1067    .handbook-breadcrumbs {
     1068        top: 3rem;
     1069        left: 22px;
     1070    }
     1071
     1072    .single-handbook .handbook-breadcrumbs ~ #primary {
     1073        padding-top: 7rem;
     1074    }
     1075   
     1076    .single-handbook .handbook-name-container ~ .handbook-breadcrumbs {
     1077        top: 5rem;
     1078    }
     1079
     1080    .single-handbook .handbook-name-container ~ .handbook-breadcrumbs ~ #primary {
     1081        padding-top: 10rem;
     1082    }
     1083}
     1084
    10471085/** Table of Contents */
    10481086.post-type-archive-handbook div.table-of-contents,
Note: See TracChangeset for help on using the changeset viewer.