Currency field / Right Align

%3CLINGO-SUB%20id%3D%22lingo-sub-179875%22%20slang%3D%22en-US%22%3ECurrency%20field%20%2F%20Right%20Align%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-179875%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20sharepoint%20online%20list%20(Office%20365).%26nbsp%3B%20Open%20the%20list%20and%20there%20are%20three%20fields%20that%20are%20setup%20as%20currency.%26nbsp%3B%20I%20have%20read%20other%20posts%20that%20suggest%20that%20currency%20should%20automatically%20align%20to%20the%20right.%26nbsp%3B%20Unfortunately%2C%20my%20currency%20fields%20all%20left%20align%20which%20makes%20is%20difficult%20to%20read.%26nbsp%3B%20How%20can%20I%20make%20them%20align%20to%20the%20right%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-179914%22%20slang%3D%22en-US%22%3ERe%3A%20Currency%20field%20%2F%20Right%20Align%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-179914%22%20slang%3D%22en-US%22%3E%3CP%3EAgain%2C%20I%20think%20we%20are%20talking%20about%20two%20different%20things.%26nbsp%3B%20AFAIK%2C%20you%20can%20only%20have%20a%20web%20part%20on%20a%20web%20page.....not%20on%20the%20list%20itself.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-179909%22%20slang%3D%22en-US%22%3ERe%3A%20Currency%20field%20%2F%20Right%20Align%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-179909%22%20slang%3D%22en-US%22%3E%3CP%3EDid%20you%20try%20this%20to%20embed%20code%20to%20change%20style%20on%20currency%20element%20in%20modern%20view%3F%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-script-editor%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-script-editor%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-179903%22%20slang%3D%22en-US%22%3ERe%3A%20Currency%20field%20%2F%20Right%20Align%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-179903%22%20slang%3D%22en-US%22%3E%3CP%3EI%20very%20well%20could%20be%20wrong%2C%20but%20I%20think%20these%20instructions%20are%20for%20when%20the%20SharePoint%20list%20is%20displayed%20as%20part%20of%20a%20web%20page%20(Site%20Contents--%26gt%3BSite%20Pages).%26nbsp%3B%20I%20am%20trying%20to%20format%20the%20actual%20list%20(Site%20Contents--%26gt%3BListName)%20using%20the%20modern%20experience.%26nbsp%3B%20I%20do%20see%20something%20about%20JSON%20in%20the%20Site%20Contents--%26gt%3BListName--%26gt%3BList%20Settings--%26gt%3BColumnName%20but%20I%20do%20not%20know%20what%20to%20do%20there%20either.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-179894%22%20slang%3D%22en-US%22%3ERe%3A%20Currency%20field%20%2F%20Right%20Align%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-179894%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20try%20adding%20CSS%20to%20right%20align%20the%20currency%20field%20in%20list%20view.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere's%20an%20example%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fblog.devoworx.net%2F2015%2F08%2F24%2Fadjust-currency-field-align-in-sharepoint-list%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.devoworx.net%2F2015%2F08%2F24%2Fadjust-currency-field-align-in-sharepoint-list%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

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

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/

 

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.

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

 

Again, I think we are talking about two different things.  AFAIK, you can only have a web part on a web page.....not on the list itself.