JezK
Edit File: functions.php
<?php /* * Add your own functions here. You can also copy some of the theme functions into this file. * Wordpress will use those functions instead of the original functions then. */ add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts){ $fonts['Albert Sans'] = 'Albert Sans'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts){ $fonts['Barlow'] = 'Barlow'; return $fonts; } function gm_gravity_form_placeholder_force() {?> <script type="text/javascript"> jQuery(document).ready(function( $ ){ /*$('#field_1_15 .gfield_list_15_cell1 input').attr('placeholder','Size (m2)'); $('#field_1_15 .gfield_list_15_cell2 input').attr('placeholder','Number of rooms'); $('#field_1_15 .gfield_list_15_cell3 input').attr('placeholder','Self owned flat (Yes/No)');*/ $('#field_2_15 .gfield_list_15_cell1 input').attr('placeholder','Größe (qm)'); $('#field_2_15 .gfield_list_15_cell2 input').attr('placeholder','Anzahl Zimmer'); $('#field_2_15 .gfield_list_15_cell3 input').attr('placeholder','Weitere Infos'); $('#field_3_15 .gfield_list_15_cell1 input').attr('placeholder','Size (sqm)'); $('#field_3_15 .gfield_list_15_cell2 input').attr('placeholder','Number of Rooms'); $('#field_3_15 .gfield_list_15_cell3 input').attr('placeholder','Further information'); }); </script> <?php } add_action('wp_head','gm_gravity_form_placeholder_force'); //Force Hide Owl Nav arrow function gm_footer_css() { ?> <style> @media only screen and (max-width:767px){ .white .sa_owl_theme .owl-nav .owl-prev, .white .sa_owl_theme .owl-nav .owl-next { background-color: transparent !important; background-image: url(..) !important; } button.owl-prev:after, button.owl-next:after { display: none; } } </style> <?php } add_action('wp_footer','gm_footer_css', 500000);