Advertisement:

Author Topic: [SOLVED] Background for header.php  (Read 776 times)

denver42

  • Newbie
  • *
  • Posts: 37
[SOLVED] Background for header.php
« on: September 11, 2014, 12:46:01 am »
Hello. I'm able to set a background image for the body in the modern theme but when I place a background for the header it only takes up 960px.

I want the header background width to be 100% and have a different background but still keep the contents centered as it is. Is this possible? Thanks!
« Last Edit: September 14, 2014, 07:05:14 pm by denver42 »

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Background for header.php
« Reply #1 on: September 11, 2014, 12:57:53 am »
@denver42
Header in modern theme is not made to be full-width (100%), maximum size is 960px.
If you want to change this, you need to change structure of header or use another theme (i.e. bender) ;)

denver42

  • Newbie
  • *
  • Posts: 37
Re: Background for header.php
« Reply #2 on: September 13, 2014, 08:42:44 am »
Oh, ok thank you!  :)

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Background for header.php
« Reply #3 on: September 13, 2014, 08:53:43 pm »
@denver42
No problem, if you problem is solved, please add [Solved] to title of your thread ;)