Table Addon Search - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Table Addon Search

DM

Diego Mello

SP Page Builder 3 months ago

Hi Guys,

I have a table addon on one of my pages and enabled the serach feature. TThis is the code generated:

<div class="sppb-addon-table-search-wrap">
    <input type="text" placeholder="Type Here To Search" class="sppb-form-control sppb-addon-table-search">
    <i class="fa fa-search" aria-hidden="true"></i>
</div>

I have two questions:

  1. How can I change the placeholder text for this specific table?
  2. When I click on the field to type something, the search icon remains visible and in front of the text. Can we change this behaviour so the search Icon also hides when someone clics on the field?

If you wnayt to take a look at the table, here is te link: https://arbitralwomen.org/about-us/board-and-committees

Thanks, Diego

0
4 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 months ago #198623

Indeed, I forgot about "not" -- "you cannot use different for one table only "


Please mark topic as solved.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 months ago #198617

Hi Diego.

  1. You can change text for all tables, you cannot use different only for one table only.

Please use Joomla Language Override and customize/override that phrase: COM_SPPAGEBUILDER_ADDON_TABLE_ADVANCED_SEARCH_PLACEHOLDER

  1. Indeed, it doesn't look good now. Please use this Custom CSS to correct view:
.sppb-addon-table-search-wrap input.sppb-form-control.sppb-addon-table-search {
  padding-left: 35px !important;
}
0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 months ago #198618

Extra tip!

According to Accessibility rules I suggest adding underline for links used in "ArbitralWomen Previous Boards" box

0
DM
Diego Mello
Accepted Answer
3 months ago #198621

Hi Paul,

Thanks a lot for the quick reply and for the extra tip. Apologies, but I didn't understand what you mean regarding the placeholder text.

You can change for all tables , you can use different one only for one table.

If I edit the Language Override, I'll change the text for all tables, but you said "...you can use different one only for one table."

If that is the case, how could it be done? Or, you meant I can't use a different one just for one table?

0