Advertise Here

Author Topic: Headers  (Read 1950 times)

0 Members and 1 Guest are viewing this topic.

Offline Stitch

  • SMF For Free Full Member
  • *
  • Posts: 213
  • VMK will always remain in my heart.
    • View Profile
    • Project: Phoenix

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Headers
« on: July 30, 2008, 09:37:26 pm »
is there a way to change the headers for each skin you make?

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: Headers
« Reply #1 on: July 30, 2008, 10:32:42 pm »
is there a way to change the headers for each skin you make?

No, but I'll show you how to make it use a different banner when you swap the css.

For example:

You have a red stylesheet with an apple as the banner, centered at the top of the forum.

You switch the stylesheet to an yellow style and you now have a banana centered at the top of the forum.

Now.. I know you dont want apples and bananas up there!   ;)

But.. here is how you can do that:

You will have to edit each stylesheet and put this at the top of the css for each of them:

Code: [Select]
#header
{
background:  url(YOUR BANNER URL);
background-repeat: no-repeat;
width:  760px;
height: 302px;
}

Change YOUR BANNER URL to the banner url for that stylesheet
Change the width and height to the exact width and height of the banner
Do this to all of the stylesheets you plan to swap.

Put this in your HEADER:
(If you put it at the bottom of your header it will center the banner just above the forum)

Code: [Select]
<div style="text-align:center;">
<div id="header"></div>
</div>

Now when you swap stylesheets on your forum the banner will change.
Is handy if you swap styles on holidays and want a different banner to show up.

« Last Edit: May 04, 2010, 04:47:44 pm by simply sibyl »

 

Related Topics

  Subject / Started by Replies Last post
Headers?

Started by codey « 1 2 » General Support

20 Replies
3543 Views
Last post October 02, 2006, 02:27:34 pm
by Crasy
2 Replies
1350 Views
Last post November 06, 2007, 08:17:43 am
by mr_css
1 Replies
745 Views
Last post November 27, 2007, 06:19:51 pm
by LaundryLady
3 Replies
990 Views
Last post March 02, 2008, 03:16:51 pm
by LaundryLady
Headers?

Started by `Java « 1 2 » General Support

18 Replies
2844 Views
Last post May 12, 2008, 08:52:20 pm
by `Java