Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 184
Total: 184

Author Topic: How to Change Background Image in SMF 1.1.5?  (Read 23555 times)

0 Members and 1 Guest are viewing this topic.

Offline CLSSY56

  • Member
  • *
  • Posts: 12
    • View Profile
How to Change Background Image in SMF 1.1.5?
« on: September 07, 2008, 02:16:01 am »
http://www.slo-vpilots.com/Forum/

I'm using a copy of the SMF Defalt Theme. I want to change the background color to an image.

What I've done so far:

/* The main body of the entire forum. */
body
{
   background-color: #E5E5E8;
   background-image: url(../Clouds_Background.gif);
   margin: 0px;
   padding: 12px 30px 4px 30px;

In the preview it shows like how I want it, however I can't get it show in the forum elsewhere.

I'd like my forum to look similar to this:
http://slo-v.proboards85.com/
« Last Edit: September 07, 2008, 11:14:43 am by CLSSY56 »

Offline CLSSY56

  • Member
  • *
  • Posts: 12
    • View Profile
Re: How to Change Background Image in SMF 1.1.5?
« Reply #1 on: September 08, 2008, 01:29:31 pm »
bump


Offline CLSSY56

  • Member
  • *
  • Posts: 12
    • View Profile
Re: How to Change Background Image in SMF 1.1.5?
« Reply #3 on: September 08, 2008, 06:15:47 pm »

Offline CLSSY56

  • Member
  • *
  • Posts: 12
    • View Profile
Re: How to Change Background Image in SMF 1.1.5?
« Reply #4 on: September 08, 2008, 09:17:04 pm »
2 Things:

Updated to 1.1.6

Changed the script to:
/* The main body of the entire forum. */
body
{
   background-color: #E5E5E8;
   background-image: url(./images/Clouds_Background.gif);
   margin: 0px;
   padding: 12px 30px 4px 30px;
}

It still shows in the preview, but not on the forum.

Offline CLSSY56

  • Member
  • *
  • Posts: 12
    • View Profile
Re: How to Change Background Image in SMF 1.1.5?
« Reply #5 on: September 08, 2008, 09:27:58 pm »
Switched to:
/* The main body of the entire forum. */
body
{
   background-color: #E5E5E8;
   background-image: url(./Themes/Slo-V/images/Clouds_Background.gif);
   margin: 0px;
   padding: 12px 30px 4px 30px;
}

Still no change...

Offline mashby

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • ChopPix.com
Re: How to Change Background Image in SMF 1.1.5?
« Reply #6 on: September 08, 2008, 09:48:11 pm »
Then it's either
   background-image: url(../../../Clouds_Background.gif);

or
   background-image: url(../../../../Clouds_Background.gif);


Offline CLSSY56

  • Member
  • *
  • Posts: 12
    • View Profile
Re: How to Change Background Image in SMF 1.1.5?
« Reply #7 on: September 08, 2008, 10:43:53 pm »
Why does it show correctly in the preview but not when saved?

Offline CLSSY56

  • Member
  • *
  • Posts: 12
    • View Profile
Re: How to Change Background Image in SMF 1.1.5?
« Reply #8 on: September 08, 2008, 10:48:36 pm »
thanks, this worked

background-image: url(../../../../Clouds_Background.gif);

not sure why, but it did.

Offline mashby

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • ChopPix.com
Re: How to Change Background Image in SMF 1.1.5?
« Reply #9 on: September 09, 2008, 06:45:09 am »
That's a relative link. Compared to where your CSS is, the image is 4 folders up.
 :)

Offline CLSSY56

  • Member
  • *
  • Posts: 12
    • View Profile
Re: How to Change Background Image in SMF 1.1.5?
« Reply #10 on: September 09, 2008, 07:41:37 am »
I understand the link, but like I said before, It would show up in the preview but not on the forum. I even put copies of the background image in the theme/slov/image folder and I still couldn't get it to work. I guess it just surprised me that the preview window would show it if it didn't have the right link.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
4974 Views
Last post July 18, 2007, 06:50:57 am
by SMFHacks
2 Replies
4270 Views
Last post February 27, 2010, 04:35:25 pm
by SMFHacks
2 Replies
3229 Views
Last post May 31, 2015, 06:04:29 pm
by shuban
6 Replies
4917 Views
Last post June 18, 2015, 01:55:20 am
by Empire
1 Replies
1164 Views
Last post May 22, 2022, 04:51:25 pm
by Shades

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal