Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #333916

    Hi,

    I was wondering if it is possible to the min-height for sections to numbers other than the pre-defined ones at 25%, 50%, 75% and 100%.

    Thanks.

    sl

    • This topic was modified 10 years, 1 month ago by slui.
    #333918

    Hi slui!

    Can you post the link to your page and point out the color section element you would like to modify please? Also what exactly is the height you would like to use?

    Best regards,
    Yigit

    #333928

    In addition, how do you automatically center content within a color section?

    #333930

    Hi!

    Please post the link to your page where we can see your color section so we can provide you an accurate solution

    Regards,
    Yigit

    #333942

    Hi Yigit,

    So I’m trying various techniques to get the sections to be of the same height. I’ve read in the forum the use of whitespace and that sort of work, but I don’t have finite control that I want.

    I need to be able to control the height so that it looks uniform across the 3 sections. This also needs to work for responsive as well.

    sl

    #334116

    Hi Yigit,

    I’ve posted the website in the first message. I edited the private information to reflect that. Thanks.

    sl

    #334278

    Hi!

    Even the % heights are calculated and returned in px values as seen in (themefolder)/js/shortcode.js line 2124.

    Therefore, I’d advise you use media queries to vary heights for different screen sizes.

    Best regards,
    Arvish

    #334315

    Hi Arvish,

    In the shortcode that you guys have for the color section, can’t we just change the percentage to what we want? It is so much simpler that way and it doesn’t require me to figure out the media queries.

    sl

    #335226

    Hey Samuel!

    Percentage values are fixed (25%, 50%, 75% and 100%), you can set a custom fixed value in pixels though – http://screencast.com/t/BXsODToxnCS

    Regards,
    Josue

    #336976

    Hi Josue,

    This is brilliant. Thanks for this tip. It solved the problem right away!

    sl

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Min Height for Color Sections’ is closed to new replies.