I uploaded my header image under Websites > Settings > Header Image but it is automatically resizing it to the width of the page (960px). How do I customize the width of my image if I don't want it this size?
Submitted
Official response from Jason MeerYou can override this default in your NationBuilder theme. Please note that you need to be using a custom theme. You can learn more about that here.
- To adjust the size of your header, go to Websites > Theme > layout.html.
- Once inside of this file, find {% if site.has_header_image? } and edit the width attribute on the line below as desired:
<a href="/"><img src="{{ site.header_image_url_960 }}" width="" border="0" /></a>
Share this post
Showing 6 reactions
Sign in with
We added width=“500” but that has no impact to the custom theme. Any ideas ?
Hines Digital
Certified Architect
Certified Expert
Looks like this: http://d3n8a8pro7vhmx.cloudfront.net/makingwaves/pages/1/attachments/original/1380323568/width_of_banner.jpg?1380323568
How do we make it so the banner runs full width all the way left and right.
Also, then how to make the tab bar also run full length so it corresponds to the width of the new header width?
Life is just more questions than answers!