Tagged: color section
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
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
In addition, how do you automatically center content within a color section?
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
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
Hi Yigit,
I’ve posted the website in the first message. I edited the private information to reflect that. Thanks.
sl
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
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
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
Hi Josue,
This is brilliant. Thanks for this tip. It solved the problem right away!
sl