Solved

Watermark size of File Attachment Control


Userlevel 3
Badge +16

Hi,

 

Anyone know of any dazzling javascript to increase the size of the Watermark for the File attachment control?

 

I've tried the following one:

 

<script type="text/javascript">$(document).ready(function() { $('.theme-entry .SFC.SourceCode-Forms-Controls-Web-TextBox.watermark, .theme-entry .input-control-watermark').css('font-size', '11pt');});</script>

but it doesn't apply the changes to the File Attachment watermark.

 

Any ideas?

icon

Best answer by Albarghouthy 24 May 2018, 14:00

View original

4 replies

Userlevel 2

Good  day,


 


The part you entered the font size (css) should in this format css('font-size': '11px') not css('font-size', '11px')


If this resolves the issue you can marks this post as solution.


 


Kind regards


Themba

Userlevel 3
Badge +16

Doesn't have any impact:

 

I changed it as per your suggestion, but the watermark is the same:

 

<script type="text/javascript">$(document).ready(function() { $('.theme-entry .SFC.SourceCode-Forms-Controls-Web-TextBox.watermark, .theme-entry .input-control-watermark').css('font-size': '11px');});</script>

Also, my original posted code said 11pt, you changed it to 11px....

 

Any ideas?

Userlevel 5
Badge +16

Hi Sharpharp1,


 


This should work 


 


<script>$('.file-watermark').css({'font-size' :'19px'});</script>
Userlevel 3
Badge +16

Stunning work Mustafa, works a treat,

 

Thanks for solution

Reply