문제

Is there a possibility i can ammend some CSS or something to increase the text size on Upload.aspx? I guess not but it would be very nice if i could.

Any advice would be great, we are using SharePoint Online 365 .

도움이 되었습니까?

해결책

Yes, there is a possibility, however, this way will change the upload forms all over your Site Collection.

You can add following Code to your masterpage:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript"> 
$(document).ready(function() {
if (window.location.href.toLowerCase().indexOf('/_layouts/15/upload.aspx') > 0) 
 {
  $("#element").css("font-size", "20px");
 }
});  
</script>

Mind to change the selector ( #element ) to the DOM-Element, which should be changed (You can find it via the Hover-Tool using Webbrowser-Dev-Tools).

Example: You want to change the font-size of "Datei auswählen":

enter image description here

Then the correct selector is:

$("span#UploadDescription").css("font-size", "20px");
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top