Osclass Support Forums
Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: Nagy Csaba on February 22, 2020, 05:46:54 PM
-
I was wondering how to add location to listing in mobile.
Any idea 💡 is there anyone whit this modification.
Thanks in advance
-
Simply add to loop-single.php new div with location and add to it class is767, it will then show only on mobile.
-
I was wondering how to add location to listing in mobile.
Any idea 💡 is there anyone whit this modification.
Thanks in advance
For all users add this line to loop-single.php line 64
<div class="is767"><i class="fa fa-map-marker"></i><?php echo veronika_location_format(osc_item_country(), osc_item_region()); ?></div>
<div class="is767"><i class="fa fa-calendar-times-o"></i><?php _e('published', 'veronika'); ?> <span title="<?php echo osc_esc_html(osc_format_date(osc_item_pub_date())); ?>"><?php echo veronika_smart_date(osc_item_pub_date()); ?></span></div>
u can set class to 777 insted of 767 for desktop, tablet