Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1439302

    Hi

    I want to make a grid row and keep it slim so it works like a coloured border. Like it is used here for example, in four colours: https://kriesi.at/themes/enfold-health-coach/

    But it stays the same size regardless of my settings. Height is set to “minimum custom height in pixel” and “15” , no borders, no folding. There is no contents forcing it bigger (only colour). Am I missing something?

    Kind regards, Hannah

    #1439306

    it is the flex_cell setting – because default padding of flex_cell is 30px . You can set it for each flex_cell now or give a custom class to the grid-row – f.e. stepcolor-separator and set in quick css:

    #top .stepcolor-separator .flex_cell {
      padding: 10px
    }

    PS: do not forget to set on advanced tab the mobile behavior : “Cell appear besides each other …”

    #1439310

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

    #1439313

    if you do have this very often – and you like to avoid to many DOM Elements – you can have a separator that way by using the pseudocontainer “after” for it.

    Best is to do it with a custom class on the sections.

    .avia-section { 
      position: relative !important;
    }
    
    .avia-section:after { 
      content: "";
      position: absolute !important;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 15px;
      background-image: -webkit-linear-gradient(90deg, #719430 33%, #92bb46 33%, #92bb46 66%, #acd464 66%);
      background-image: linear-gradient(90deg, #719430 33%, #92bb46 33%, #92bb46 66%, #acd464 66%);
      background-size: cover;
      background-repeat: no-repeat;
    }

    you see how the gradient works?

    #1439320

    Hi,
    I believe that your question is that you are trying to use a grid row element with four cells and only want to have the background colors show as a bar:
    Enfold_Support_5282.jpeg
    you have set the min height to 15px:
    Enfold_Support_5280.jpeg
    but it shows as 60px high:
    Enfold_Support_5278.jpeg
    you need to go to each cell and set the Cell Padding to zero:
    Enfold_Support_5284.jpeg
    then it will show as 15px:
    Enfold_Support_5286.jpeg

    Best regards,
    Mike

    #1439389

    Thank you guys! :-)

    #1439392

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Can’t make grid row slim’ is closed to new replies.