alextheitnerd
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Illdy] White space below fullwidth sectionGOT IT!
This will successfully remove the white space at the bottom of the full-width section without messing up the other sections. I’m not sure if this is an issue with illdy itself or just an issue with my site but hopefully this can help someone!
#full-width .section-header { margin-bottom: 0px !important; }
Forum: Themes and Templates
In reply to: [Illdy] White space below fullwidth sectionAfter further inspection it looks like the code above does remove the white space but makes ALL the headers for every section squish and off. So this is not a valid solution. Is there a way to re-open this to see if anyone has a solution to this issue?
Forum: Themes and Templates
In reply to: [Illdy] White space below fullwidth sectionOk. After some tinkering i found that you need to add the following code to remove the white space from the bottom of the full width section. At first i thought that changing the “full-width” div margin would fix it but then in further inspection i found that there is a different div / container called “section-header” that needs to be changed.
I’m a little confused as to why the white space is there to begin with but if anyone else runs into this issue this is the CSS code to remove it.
**Important: If you use this code it seems to move the content within the section above it slightly up which can mess up the spacing between the content and the content title on the previous section. Not sure exactly how to fix this. I ended up just putting a bunch of <br><br><br> to space the content above but i’m sure there is probably a better way. Maybe someone else knows a better way of removing the white space?**
div.section-header { margin-bottom: 0px !important; }
I figured it out. I used WordPress embed option and then added css to force the video to be centered.
Thanks!
.wp-video { text-align: center; margin-left: auto; margin-right: auto; }