Tagged: Color Section Height
Hi Guys,
Can you give me the full CSS magic to reduce the color section height, the archived link was set to private, so I couldn’t get the full code:
Link #176123
Thankyou
Gary
Hi Gstar72!
Can you post the link to your website and point out the color section you would like to be smaller?
Best regards,
Yigit
Hey Yigit,
The blue colour sections: http://www.naturaloutlook.com I would like to reduce the height – also, when you view on mobile, the text is not centered on the vertical aspect, very odd.
There was a thread on it before, but some of the replies were marked private, so I couldn’t see the CSS: #176123
Thanks mate
Gary
Hey Gary!
Please add following code to Quick CSS in Enfold theme options
#expertise, #about, #design, #photography, #writing, #process { height: 100px; }
That should do for all color sections on that page.
I also checked your website on my iphone and text seems to be centered on my end. Please see screenshots below;
Portrait mode http://i.imgur.com/WQ2FBfo.png
Landscape mode http://i.imgur.com/3n1kI3E.png
Best regards,
Yigit
Hey Yigit,
Its there a minimum height restriction for the color section, I would like to make it 80 px, but it will only allow 100 px minimum.
Also, with the new height, the h3 titles are not centered vertically, I can provide screen grabs – I tried adding white space, but that didn’t work.
Thanks Yigit
Gary
I also tried this, but it didn’t work:
#expertise, #about, #design, #photography, #writing, #process {position:absolute; top:50%; height:100px; margin-top:-50px; /* negative half of the height */}
Hey!
Please add following code to Quick CSS as well Gary
#expertise, #about, #design, #photography, #writing, #process { max-height: 100px; height: 80px; }
.content { padding-top: 40px; }
Cheers!
Yigit
Thanks Yigit.
Gary