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

    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

    #162996

    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

    #163020

    Thank you for your email
    goo.gl/xPsKAD

    #163069

    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;
    }
    #163088

    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;}

    #163171

    Sorry probably I didn’t understand: I add min-height: 30px; and works. Thanks for the support

    #163387

    Hello!

    Glad Devin fixed it. :)

    Regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘color section’ is closed to new replies.