Forum Discussion

Jonathan Cooper's avatar
Jonathan Cooper
Copper Contributor
Apr 05, 2018

Currency field / Right Align

I have a sharepoint online list (Office 365).  Open the list and there are three fields that are setup as currency.  I have read other posts that suggest that currency should automatically align to the right.  Unfortunately, my currency fields all left align which makes is difficult to read.  How can I make them align to the right?

4 Replies

  • Anonymous's avatar
    Anonymous

    You can try adding CSS to right align the currency field in list view. 

    Here's an example

    https://blog.devoworx.net/2015/08/24/adjust-currency-field-align-in-sharepoint-list/

     

    • Jonathan Cooper's avatar
      Jonathan Cooper
      Copper Contributor

      I very well could be wrong, but I think these instructions are for when the SharePoint list is displayed as part of a web page (Site Contents-->Site Pages).  I am trying to format the actual list (Site Contents-->ListName) using the modern experience.  I do see something about JSON in the Site Contents-->ListName-->List Settings-->ColumnName but I do not know what to do there either.

      • Anonymous's avatar
        Anonymous

        Did you try this to embed code to change style on currency element in modern view?

        https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor

         

Resources