Tagged: h2, Text block, vertical alignment
-
AuthorPosts
-
March 20, 2014 at 10:15 pm #240884
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!
March 20, 2014 at 10:32 pm #240889Hey techgrayscale!
Please add following code to Quick CSS in Enfold theme options under Styling tab
h2 { margin-bottom: 0; }Cheers!
YigitMarch 21, 2014 at 12:38 am #240942Thanks 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!!!
March 21, 2014 at 2:51 pm #241191Hi!
Please add following code to Quick CSS as well
.single-portfolio #av_section_1 { height: 80px !important; min-height: 80px!important; }Cheers!
Yigit-
This reply was modified 11 years, 7 months ago by
Yigit.
March 21, 2014 at 5:05 pm #241257Unfortunately that didn’t help, please see http://www.charlestonwedding.com/2014/portfolio-item/jolie-andrew/
March 21, 2014 at 5:12 pm #241260Hi!
I have updated the code i posted in my previous post. Please try it now
Best regards,
YigitMarch 21, 2014 at 5:17 pm #241264Hmm… Still not centered and now pages like this http://www.charlestonwedding.com/2014/magnolia-plantation/ appear to be worse?
Really appreciate your quick response!
March 22, 2014 at 6:37 am #241526Hi!
Please try this one:
.avia-section { min-height: 60px; position: static; }Cheers!
IsmaelMarch 24, 2014 at 7:18 pm #242276Yeah! Nailed it, thanks for all your help through this one :)
March 25, 2014 at 4:02 am #242486 -
This reply was modified 11 years, 7 months ago by
-
AuthorPosts
- The topic ‘Text in block not centered vertically’ is closed to new replies.
