Tagged: color section
-
AuthorPosts
-
October 10, 2014 at 4:27 pm #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 11 years ago by
slui.
October 10, 2014 at 4:30 pm #333918Hi 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,
YigitOctober 10, 2014 at 4:40 pm #333928In addition, how do you automatically center content within a color section?
October 10, 2014 at 4:42 pm #333930Hi!
Please post the link to your page where we can see your color section so we can provide you an accurate solution
Regards,
YigitOctober 10, 2014 at 4:51 pm #333942Hi 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
October 10, 2014 at 11:49 pm #334116Hi Yigit,
I’ve posted the website in the first message. I edited the private information to reflect that. Thanks.
sl
October 11, 2014 at 11:18 am #334278Hi!
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,
ArvishOctober 11, 2014 at 2:27 pm #334315Hi 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
October 13, 2014 at 11:15 pm #335226Hey 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,
JosueOctober 16, 2014 at 6:55 pm #336976Hi Josue,
This is brilliant. Thanks for this tip. It solved the problem right away!
sl
-
This topic was modified 11 years ago by
-
AuthorPosts
- The topic ‘Min Height for Color Sections’ is closed to new replies.
