*

Nagy Csaba

  • ***
  • 70 posts
Location in mobile view
« 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

*

MB Themes

Re: Location in mobile view
« Reply #1 on: February 25, 2020, 06:21:44 PM »
Simply add to loop-single.php new div with location and add to it class is767, it will then show only on mobile.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Marked as best answer by frosticek on March 07, 2020, 05:38:11 PM
*

Nagy Csaba

  • ***
  • 70 posts
Re: Location in mobile view
« Reply #2 on: March 07, 2020, 11:39:49 AM »
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
« Last Edit: March 08, 2020, 08:05:33 AM by Nagy Csaba »