Code Snippets

Extending Website Functionality. One Snippet at a Time.

Disable Astra Fonts Completely

				
					add_action( 'wp', 'astra_disable_google_font' );
function astra_disable_google_font(){
add_action( 'wp_enqueue_scripts', 'ast_disable_google_fonts', 99 );
}

function ast_disable_google_fonts(){
wp_dequeue_style('astra-google-fonts');
}
				
			

Remove Astra Button Outline

				
					a, a:active, a:focus {
   outline: none;
}