1 Reply Latest reply on May 22, 2018 1:28 AM by itsallbroken

    CSS for spaces

    danthomas

      Hi all

       

      I need to add the following custom css tweak to our on-prem Jive 9 instance. Is it possible to have this only affect spaces or even better one specific space, either with another attribute or a specific style sheet?

       

       

      @media screen and (max-width: 1064px)

      .j-body-place #j-main .j-layout {

          margin: auto 20px;

      }

       

      Thanks in advance

       

      Dan

        • Re: CSS for spaces
          itsallbroken

          Hi Dan,

           

          You can create themes in the admin console that you can then map to specific spaces.

           

          In the admin console go to System > Settings > Themes

           

          Create a new theme and then map that to the space you want to modify, in the theme you will be looking for the /soy/template/css-custom.soy

           

          Create a new template of that file and you can add in your custom CSS

           

          Thanks

           

          G