Tagged: h2, Text block, vertical alignment
Hello – I’m using a simple H2 in a text block at the top of several pages (as a title) and the text has more padding below than it does above. Itried changing the padding setting and the problem is persistent across the board. Can you help me resolve this issue?
Link: http://www.charlestonwedding.com/2014/portfolio-item/location-magnolia-plantation/
Many Thanks!
Hey techgrayscale!
Please add following code to Quick CSS in Enfold theme options under Styling tab
h2 { margin-bottom: 0; }
Cheers!
Yigit
Thanks for your quick response! That worked – unfortunately creates a new problem here: http://www.charlestonwedding.com/2014/portfolio-item/jolie-andrew/
I added this line of css h5 { margin-top: 10px; } to seperate my h3 from the h5 but, both are still not vertically centered like they should be.
Please help – Thanks!!!
Hi!
Please add following code to Quick CSS as well
.single-portfolio #av_section_1 {
height: 80px !important;
min-height: 80px!important;
}
Cheers!
Yigit
Unfortunately that didn’t help, please see http://www.charlestonwedding.com/2014/portfolio-item/jolie-andrew/
Hi!
I have updated the code i posted in my previous post. Please try it now
Best regards,
Yigit
Hmm… Still not centered and now pages like this http://www.charlestonwedding.com/2014/magnolia-plantation/ appear to be worse?
Really appreciate your quick response!
Hi!
Please try this one:
.avia-section {
min-height: 60px;
position: static;
}
Cheers!
Ismael
Yeah! Nailed it, thanks for all your help through this one :)