I try to give a css custom style to a color section in home page but I can’t set an div hight less 100 px (ex 50px)
If I give greater 100 px all is ok.
how can I get this a color section with an hight less 100 px?
Thanks in advance
Hi alkross,
We would need to see the color section on your page live to inspect the css and see whats going on. My guess is there is some margin/padding keeping the size to a specific size but I can’t say for sure without inspecting it.
You can use http://goo.gl/ to hide the url.
Regards,
Devin
Thank you for your email
goo.gl/xPsKAD
You just need to cancel out the min-height declartion the theme has:
#awesome-section {
height: 50px;
background: #cc3366;
border: 1px solid blue;
min-height: 50px;
}
Devin, where is the min-height? The css id into the child theme’s custom css is:
#awesome-section {
height: 30px;
background: #cc3366;
border: 1px solid blue;}
Sorry probably I didn’t understand: I add min-height: 30px; and works. Thanks for the support