FreeCodeCamp tribute page project. This page honors jazz pianist Bill Evans. It was challenging to get the look and functionality I wanted across all devices, especially iOS devices.
A Pen by Tristan Mason on CodePen.
FreeCodeCamp tribute page project. This page honors jazz pianist Bill Evans. It was challenging to get the look and functionality I wanted across all devices, especially iOS devices.
A Pen by Tristan Mason on CodePen.
/* Fix footer widget area */ | |
.site-footer .wrap { | |
display: flex; | |
flex-direction: column-reverse; | |
} | |
.site-footer .footer-widgets { | |
display: flex; | |
flex-direction: row; |
/** | |
* Check for Astra Advanced Headers and add header ID class to body classes for per-header styling | |
* @author Tristan Mason <tristanmason.com> | |
*/ | |
function tmac_add_advanced_header_class( $classes ) { | |
// only run if Advanced Headers exists and is enabled on this page | |
if ( (int)method_exists('Astra_Ext_Advanced_Headers_Data', 'get_current_page_header_ids') && in_array('ast-advanced-headers',$classes) ) { | |
$tmac_header_ids = Astra_Ext_Advanced_Headers_Data::get_current_page_header_ids(); | |
$classes[] = 'tmac-header-id-' . $tmac_header_ids; | |
} |
<?php // class-astra-builder-ui-controller.php | Line 92 | |
echo '<a href="' . esc_url( $link ) . '"' . esc_attr( $item['label'] ? ' aria-label=' . $item['label'] . '' : ' aria-label=' . $item['id'] . '' ) . ' ' . ( 'phone' === $item['id'] || 'email' === $item['id'] ? '' : 'target="_blank" rel="noopener noreferrer" ' ) . 'style="--color: ' . esc_attr( ! empty( $item['color'] ) ? $item['color'] : '#3a3a3a' ) . '; --background-color: ' . esc_attr( ! empty( $item['background'] ) ? $item['background'] : 'transparent' ) . ';" class="ast-builder-social-element ast-inline-flex ast-' . esc_attr( $item['id'] ) . ' ' . esc_attr( $builder_type ) . '-social-item">'; | |
?> |