This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h1>My heading</h1> | |
| h1 { | |
| text-align: center; | |
| display: grid; | |
| grid-template-columns: 1fr auto 1fr; | |
| grid-gap: 20px; | |
| } | |
| @supports (display: grid) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| cursor: pointer; | |
| cursor: url(https://presser.demo.site/wp-content/uploads/2018/02/cursor-hover.svg) 1 1, auto; | |
| } | |
| .cursor:hover { | |
| cursor: pointer; | |
| cursor: url(https://presser.demo.site/wp-content/uploads/2018/02/cursor-active.svg) 1 1, auto; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="box"> | |
| <div>Dior</div> | |
| </div> | |
| .box { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| height: 35em; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add to functions.php | |
| add_filter( 'get_the_archive_title', 'tu_remove_month_archive_title' ); | |
| function tu_remove_month_archive_title( $title ) { | |
| if ( is_month() ) { | |
| $title = get_the_date( 'F Y' ); | |
| } | |
| return $title; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add to functions.php | |
| add_action('wp_dashboard_setup', 'my_custom_dashboard_widgets'); | |
| function my_custom_dashboard_widgets() { | |
| global $wp_meta_boxes; | |
| wp_add_dashboard_widget('custom_help_widget', 'Theme Support', 'custom_dashboard_help'); | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add to functions.php | |
| add_filter( 'generate_search_placeholder', 'tu_change_search_placeholder' ); | |
| function tu_change_search_placeholder() { | |
| return 'Your custom placeholder'; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .🦄 { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .classname { | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); | |
| } |