The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Header Image

View previous topic View next topic Go down

Solved Header Image

Post by shield4life on March 5th 2015, 1:28 am

Hello,

It's been hours I'm trying & searching online for a fix for the header issue I'm having on my forums.

I am trying to adjust the header to fit 100% within the forum without repeating but it just doesn't seem to be fitting in perfectly.

Any suggestions?

Here's the css code I'm using:

.headerbar {
background-color: transparent;
background-image: url('https://i38.servimg.com/u/f38/13/90/07/25/packer10.jpg');
height: 220px; Width: 1140;
background-position: center;
background-repeat: no-repeat;
}

shield4life
New Member

Posts : 16
Reputation : 0
Language : English

http://www.redwingsonline.net

Back to top Go down

Solved Re: Header Image

Post by Ange Tuteur on March 5th 2015, 1:34 am

Hello @shield4life,

You can use the background-size property to resize the background image. Try this :
Code:
.headerbar {
  min-height:220px;
  background-color: transparent;
  background-image: url('http://i38.servimg.com/u/f38/13/90/07/25/packer10.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size:cover;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Header Image

Post by shield4life on March 5th 2015, 1:51 am

Thanks appreciate it helped me out. Solved !

shield4life
New Member

Posts : 16
Reputation : 0
Language : English

http://www.redwingsonline.net

Back to top Go down

Solved Re: Header Image

Post by Ange Tuteur on March 5th 2015, 3:43 am

You're welcome Mr. Green

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum