减少重力场间距

时间:2016-08-19 07:09:16

标签: wordpress css3 gravity-forms-plugin

我在使用重力表单插件创建表单时遇到问题。顶部和底部之间的空间太大。我需要帮助

它位于footer of my website

由于

3 个答案:

答案 0 :(得分:0)

添加此css

body .gform_wrapper ul li.gfield {
 margin-top: 0 !important;
}

.block-content ul li {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

答案 1 :(得分:0)

添加此css

<style>
    body .gform_wrapper ul li.gfield {
        margin-top: 0px !important;
        padding-top: 0;
    }
    .block-content ul li {
          margin-bottom: 0 !important;
          margin-top: 0 !important;
        }
    .gform_body ul li .ginput_container select,.gform_body ul li .ginput_container input{
            margin-bottom: 0px;
    }
    .gform_wrapper .top_label .gfield_label {
        display: none !important;
    }
</style>

答案 2 :(得分:0)

function(input, output, session) {

  result_auth <- secure_server(check_credentials = 
check_credentials(credentials))

  output$res_auth <- renderPrint({
    reactiveValuesToList(result_auth)
  })

  # classic app
  selectedData <- reactive({
    iris[, c(input$xcol, input$ycol)]
  })

  clusters <- reactive({
    kmeans(selectedData(), input$clusters)
  })

  output$plot1 <- renderPlot({
    palette(c("#E41A1C", "#377EB8", "#4DAF4A", "#984EA3",
              "#FF7F00", "#FFFF33", "#A65628", "#F781BF", "#999999"))

    par(mar = c(5.1, 4.1, 0, 1))
    plot(selectedData(),
         col = clusters()$cluster,
         pch = 20, cex = 3)
    points(clusters()$centers, pch = 4, cex = 4, lwd = 4)
  })

}

您还可以添加.gform_body textarea等...