Loading

How can I change the size of my header image?

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?

Official response from Jason Meer

You 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.

  1. To adjust the size of your header, go to Websites > Theme > layout.html.
  2. 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>

pic_width.png

How would you tag this suggestion?
Do you like this suggestion?

Showing 1 reaction


Trystan Reese tagged this with Advanced 2013-04-03 11:18:16 -0700