Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Remove opacity on search bar


mnewell

Question

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

4 answers to this question

Recommended Posts

  • 0

Q1. Add to Design > Custom CSS

/* search bar overlay */
.sqs-search-ui-button-wrapper.color-dark .search-input {
    opacity: 1 !important;
}

Q2. Add to Last Line in Settings > Advanced > Code injection > Footer

<script>
$(document).ready(function() {
	$('input.search-input').attr('placeholder','enter new text');
});
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
On 7/1/2021 at 12:28 AM, tuanphan said:

Q1. Add to Design > Custom CSS

/* search bar overlay */
.sqs-search-ui-button-wrapper.color-dark .search-input {
    opacity: 1 !important;
}

Q2. Add to Last Line in Settings > Advanced > Code injection > Footer

<script>
$(document).ready(function() {
	$('input.search-input').attr('placeholder','enter new text');
});
</script>

 

Thank you! Removing the overlay worked, however, changing the Search bar text did not. The "enter new text" is supposed to be where the text is changed, correct?

When I included the code without changing any text, it still didn't change. 

Link to comment
  • 0
On 7/12/2021 at 11:43 AM, mnewell said:

Thank you! Removing the overlay worked, however, changing the Search bar text did not. The "enter new text" is supposed to be where the text is changed, correct?

When I included the code without changing any text, it still didn't change. 

It looks like you removed/edited some code in your current code since July 1. That caused the above code didin't work

Add this new code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('input.search-input').attr('placeholder','enter new text');
});
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...