Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Is there a way to convert this CSS code to JSON to be used via "Format Current View" on SP Online?

$
0
0

Is there a way to convert this CSS code below to JSON to be used via "Format Current View" on SP Online?

I'm trying to override some styles via JSON by using "Format Current View". Perhaps there is another way but by keeping within using modern pages? I know I could use JSLink , or even add a Script Editor but what I'm after is finding a way to do so by using JSON and modern pages if that is feasible.

<style>
body {
  background-color: blue;
}

.ms-core-pageTitle, .ms-core-pageTitle a{
  font-family: Impact, Helvetica, sans-serif  !Important ;
  font-size:1.77em;
  text-transform:uppercase;
    white-space: nowrap;
  margin-left: 50px;
  margin-top: 40px;
}
</style>
Thanks in advance.



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>