Hoppa till huvudinnehållet

Help with Inject CSS syntax for form items

Kommentarer

3 kommentarer

  • Berend Veldkamp

    If you're okay with changing this for all forms, you could use this (in a global startup workflow):

    .gcx-forms hr {
      margin: 0 !important;
    }

    Left and right margins appear to be 0 already, so you can simply specify one value for all 4 sides in this case.

     

    If you need this for specific HR's only, you could put them inside a Section form element (set to unstyled, if needed), and then use:

    .gcx-forms-section1 hr {
      margin: 0 !important;
    }

    Where section1 is the ID of the section.

     

    0
  • Mike Diss-Torrance

    Other than all forms, you could also target the individual component. Depending how many forms you have to apply this to, that could be a lot of work. 

    div.panel-a3180fe0 {

    css code

    }

     

     

    0
  • Chris Dunlop

    Thanks for the info.  I'm trying to set default symbology for all forms, so I tried Berend's solution.  Unfortunately it didn't seem to work.  The only syntax that I've managed to get working is:

    .gxw-ltr-18l7j8d {margin-top:6px;margin-bottom:6px}

    What I'm not sure about though, is how persistent the class names will be over time...   

     

    0

Du måste logga in om du vill lämna en kommentar.