WordPress.org

Making WordPress.org

Changeset 1759


Ignore:
Timestamp:
07/19/2015 08:55:31 PM (3 years ago)
Author:
ocean90
Message:

Forums Theme: Add wporg-responsive body class.

see #1138.

Location:
sites/trunk/wordpress.org/public_html
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/wp4.css

    r1696 r1759  
    11691169body.make-training #headline h2 a:before { content: '\f118'; }
    11701170body.make-flow #headline h2 a:before { content: '\f115'; }
    1171 body.make-tv #headline h2 a:before { content: '\f235'; } 
     1171body.make-tv #headline h2 a:before { content: '\f235'; }
    11721172
    11731173#headline .login {
     
    19131913    body.wporg-responsive .col-2,
    19141914    body.wporg-responsive .col-3,
     1915    body.wporg-responsive .col-6,
    19151916    body.wporg-responsive .col-7,
    19161917    body.wporg-responsive .col-8,
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/functions.php

    r1757 r1759  
    9999 */
    100100function wporg_support_body_class($classes) {
     101    $classes[] = 'wporg-responsive';
    101102    $classes[] = 'wporg-support';
    102103    return $classes;
    103104}
    104 add_filter( 'get_body_class','wporg_support_body_class' );
     105add_filter( 'body_class', 'wporg_support_body_class' );
    105106
    106107/**
Note: See TracChangeset for help on using the changeset viewer.