*

Yuri

  • ****
  • 106 posts
  • Yriu
How to change or replace a word (ONLINE)
« on: January 16, 2024, 05:04:10 PM »
I want to replace the word (online) or highlight it in green, and I also want to display it on the main advertisements so that a site visitor can see the seller and determine by his logo that he is online. Please write to me in which folder or file can I edit?
The world is not without good people.

*

MB Themes

Re: How to change or replace a word (ONLINE)
« Reply #1 on: January 17, 2024, 11:07:37 AM »
It could be in Osclass core or in item.php / item-sidebar.php of your theme
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Marked as best answer by frosticek on January 17, 2024, 01:13:52 PM
*

Yuri

  • ****
  • 106 posts
  • Yriu
Re: How to change or replace a word (ONLINE)
« Reply #2 on: January 17, 2024, 12:29:26 PM »
 :) :D
The issue has already been resolved!
If anyone is interested, here's what you need to do to make ONLINE look attractive.

To do this you need to replace the line - oc-content/themes/sigma/item-sidebar.php - Line 59 - <?php echo (osc_user_is_online(osc_item_user_id()) ? '<span class="is-online">(' . __('ONLINE', 'sigma') . ')</span>' : ''); ?></p>

Here's a line like this - class="keywords"><?php echo (osc_user_is_online(osc_item_user_id()) ? '<span class="is-online">(' . __('ONLINE', 'sigma') . ')</span>' : ''); ?></p></b>

Be sure to add this code to - oc-content/themes/sigma/css/style.css - .keywords {
  color: #00b906;
}


« Last Edit: January 17, 2024, 12:31:56 PM by Yuri »
The world is not without good people.