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.

Change the height of banner

View previous topic View next topic Go down

Change the height of banner

Post by Devan on December 28th 2012, 7:18 pm

http://prntscr.com/ng3aa I like the width for the banner as it is but I want to change the height so the banner we're making fits in?
http://yugioh-universe.findforum.net/forum the main banner

Code:
#pun-intro {
    background:#183B5B url(http://the5ds.files.wordpress.com/2008/06/banner1.jpg) repeat top center;
    border-bottom-color: #1B3759;
    border-bottom-style: solid;
    border-bottom-width: 0px;
    min-height: 64px;
    margin-left: -12px;
    width: 998px;
    margin-top: -12px;
  }

Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Re: Change the height of banner

Post by Omu on December 28th 2012, 7:31 pm

Edit that:
Code:
    min-height: 64px;
Replace 64px with another value in px or percents ( % ). Smile
Try this:
Code:
    #pun-intro {
        background:#183B5B url(http://the5ds.files.wordpress.com/2008/06/banner1.jpg) repeat top center;
        border-bottom-color: #1B3759;
        border-bottom-style: solid;
        border-bottom-width: 0px;
        min-height: 164px;
        margin-left: -12px;
        width: 998px;
        margin-top: -12px;
      }

Omu
Active Poster

Male Posts : 1019
Reputation : 86
Language : Romanian, English, French
Location : Romania

http://supportdrops.com/

Back to top Go down

Re: Change the height of banner

Post by The Lone Ranger on December 28th 2012, 7:37 pm

Your existing banner height is 151px.

The Lone Ranger
Forumember

Male Posts : 438
Reputation : 37
Language : English
Location : Scotland

http://www.tenerifesforumoffun.com

Back to top Go down

Re: Change the height of banner

Post by Devan on December 28th 2012, 7:40 pm

min-height: 164px;

Is that what has to be changed?

Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Re: Change the height of banner

Post by Mike on December 28th 2012, 7:46 pm

min-height is the minimum height that that element can be. If the image is not bigger than 164px then it won't change, only the size of the element will.

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

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