Making WordPress.org

Changeset 8047


Ignore:
Timestamp:
01/08/2019 11:01:47 PM (5 years ago)
Author:
coffee2code
Message:

Gutenberg: Show breadcrumbs for handbook pages.

See #3965.

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

Legend:

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

    r6304 r8047  
    1111
    1212get_sidebar( 'handbook' );
     13
     14do_action( 'handbook_breadcrumbs' );
    1315
    1416?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/style.css

    r8035 r8047  
    13021302}
    13031303
     1304.handbook-breadcrumbs {
     1305    position: absolute;
     1306    top: 4rem;
     1307    left: 315px;
     1308    font-size: 0.8rem;
     1309}
     1310
     1311.single-handbook .handbook-breadcrumbs ~ #primary {
     1312    padding-top: 8rem;
     1313}
     1314
     1315.single-handbook .handbook-name-container ~ .handbook-breadcrumbs {
     1316    top: 5rem;
     1317}
     1318
     1319.single-handbook .handbook-name-container ~ .handbook-breadcrumbs ~ #primary {
     1320    padding-top: 10rem;
     1321}
     1322
     1323@media (max-width: 875px) {
     1324    .handbook-breadcrumbs {
     1325        top: 2rem;
     1326        left: 30%;
     1327    }
     1328
     1329    .single-handbook .handbook-breadcrumbs ~ #primary {
     1330        padding-top: 7rem;
     1331    }
     1332
     1333    .single-handbook .handbook-name-container ~ .handbook-breadcrumbs {
     1334        top: 5rem;
     1335    }
     1336
     1337    .single-handbook .handbook-name-container ~ .handbook-breadcrumbs ~ #primary {
     1338        padding-top: 10rem;
     1339    }
     1340}
     1341
    13041342/** Table of Contents */
    13051343.post-type-archive-handbook div.table-of-contents,
     
    15591597    margin: 0 auto;
    15601598    display: flex;
     1599    position: relative;
    15611600}
    15621601
Note: See TracChangeset for help on using the changeset viewer.