-
AuthorPosts
-
April 5, 2024 at 7:43 pm #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
April 6, 2024 at 9:46 am #1439306it 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 …”
April 6, 2024 at 12:02 pm #1439310April 6, 2024 at 12:53 pm #1439313if 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?
April 6, 2024 at 2:14 pm #1439320Hi,
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:
you have set the min height to 15px:
but it shows as 60px high:
you need to go to each cell and set the Cell Padding to zero:
then it will show as 15px:
Best regards,
MikeApril 7, 2024 at 2:13 pm #1439389Thank you guys! :-)
April 7, 2024 at 2:19 pm #1439392Hi,
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 -
AuthorPosts
- The topic ‘Can’t make grid row slim’ is closed to new replies.