Skip to main content

#topcontent not displaying correctly

With the Civitas theme, I moved the #topcontent area to under the main slider, but above the 2 columns.  For some reason, it is not displaying the full #topcontent container and is cutting off the bottom.  How can i change the display area so that it does not cut the box off? http://voteteammayer.nationbuilder.com/

Official response from

Hello Jason,

It looks like when you tried to change the themes default styling and positioning, the banner code was placed inside the wrong area. I have moved it just above the "wrapper" where it needs to go in order to display. I added the following to your layout.html, with some tweaks to the css so that it is sized properly:

 <!-- Added NationBuilder -->

{% if page.is_homepage? == true and site.footer_content.size > 0 %}
< div id="topContent" class="container">< div class="center cleared-floats" style="height:80px;">{{ site.footer_content }}< /div>< /div><!-- / #topContent --> {% endif %} < !---End Added by NationBuilder -->

If you want it to show on other pages, you can change: {% if page.is_homepage? == true and site.footer_content.size > 0 %} to {% if site.footer_content.size > 0 %}

If you would like to make more customizations to your theme, we recommend you reach out to a NationBuilder architect. You can also read up on liquid if you'd like to make the changes yourself.

Thanks.

Share this post

Showing 1 reaction

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.
Back to top