Center Header Names

Home Forums General discussion Center Header Names

Viewing 4 reply threads
  • Author
    Posts
    • #21247
      Robert Ogden
      Participant

        Alex

        I currently have the heading on top of the fields and was wondering if there was a way of centering them. Please see the attached graphic.

        Thanks

        Rob

        Attachments:
      • #21251
        Alexander Bautz
        Keymaster

          You can add this snippet to your Custom CSS:

          .sbs_FieldLabel .ms-formlabel{
              text-align:center;
          }

          Alexander

        • #21292
          Robert Ogden
          Participant

            Alex

            Thank you so much for the snippet but it didn’t work. I have included what I have in my Custom CSS

            .sbs_FieldTable .dffs_tdWrap *{
            width:auto !important;
            }
            sbs_FieldLabel .ms-formlabel{
            text-align:center;
            }
            td.ms-formlabel h3.ms-standardheader{
            font-weight:bold;
            }

          • #21296
            Robert Ogden
            Participant

              Alex

              I figured it out – I just cut all the code out that I had in there and started adding it in snippet by snippet – it worked. Sorry for the fire drill and thank you so much for the snippet.

              Rob

            • #21300
              Alexander Bautz
              Keymaster

                I’m glad you figured it out.

                Alexander

            Viewing 4 reply threads
            • You must be logged in to reply to this topic.