*

sess01

  • ***
  • 39 posts
transaction section
« on: October 05, 2021, 05:16:32 PM »
In transaction section how can I change "BUY" and delete "SELL" with the css code in appearance > customization?


<div class="list" style="overflow: hidden; display: block; opacity: 1; margin-top: 0px; margin-bottom: 0px;">

<div class="option " data-id="2">Buy</div>
<div class="option " data-id="2">Sell</div>


 } else if($type == 'transaction') {
    $opt[0] = __('All', 'delta');
    $opt[1] = __('Sell', 'delta');
    $opt[2] = __('Buy', 'delta');
    $opt[3] = __('Rent', 'delta');
    $opt[4] = __('Exchange', 'delta');


Regards,
« Last Edit: October 06, 2021, 01:35:55 AM by sess01 »

*

sess01

  • ***
  • 39 posts
Re: transaction section
« Reply #1 on: October 06, 2021, 03:52:50 PM »
 @MB Themes ???

*

MB Themes

Re: transaction section
« Reply #2 on: October 06, 2021, 03:53:10 PM »
You must update functions.php and add/remove there entries
Code: [Select]
    $opt[0] = __('All', 'delta');
    $opt[2] = __('BuyXYZ', 'delta');
    $opt[3] = __('Rent', 'delta');
    $opt[4] = __('Exchange', 'delta');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sess01

  • ***
  • 39 posts
Re: transaction section
« Reply #3 on: October 06, 2021, 03:56:20 PM »
Is it possible to do it via appearance > customization?

*

MB Themes

Re: transaction section
« Reply #4 on: October 06, 2021, 03:59:05 PM »
@sess01
No, as it is PHP code
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sess01

  • ***
  • 39 posts
Re: transaction section
« Reply #5 on: October 06, 2021, 04:00:24 PM »
Ok, thanks.

*

MB Themes

Re: transaction section
« Reply #6 on: October 06, 2021, 04:19:44 PM »
Btw. In theory, you could hide unwanted items via css (maybe) or javascipt (for sure) and word "Buy" via translation file and then your update would persist theme update
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sess01

  • ***
  • 39 posts
Re: transaction section
« Reply #7 on: October 06, 2021, 04:51:22 PM »
I'll try ;)

*

MB Themes

Re: transaction section
« Reply #8 on: October 06, 2021, 05:39:47 PM »
 ??? :o :P :-*
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots