YAFLogo

yeppers
  • yeppers
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
14 years ago
First off, let me say that this forum has helped me tremendously. Thanks!

The need to know :

I am currently using version 1.9.1.8 and my theme I want to modify is YAF PRO.

My Question :

How can I change my background color to a image?

-I have modified the auto fixed width to stay at 1280 by adding the code below to my default.aspx

Then adding the
to close it. (note: add code before then add the
after it to close it.)

Ive learned that much so far.

http://www.fourtechind.com/store/ 

Except mine will say my web page of course.

I know this may seem like a easy questions but too many of us begginers using YAF it would help us out greatly for those of you that know how to explian how to do this in detail.

can somebody point in the right direction please
Sponsor

mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
14 years ago
A good general solution to this problem is to identify what the current color is and then search for that in your theme .cs file.

You can do this by taking a screenshot of your forum, then pasting it into a photo editor (Paint.NET is awesome and free) and using the color picker to determine what the hex value is (#AA11BB). Then search for that value.
UserPostedImage 
www.bunkerhollow.com  | www.careercomputing.com 
When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )
yeppers
  • yeppers
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
14 years ago
Or.....

Add this code to your body section in your default.aspx.




Just add that and upload your background image too your /images section on your server.

Thanks again logan for the help, I hope other users can benefit from my trial and error.
yeppers
  • yeppers
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
14 years ago
All done....Yay!!

check it out.

www.cencalriders.com 
JoeOuts
  • JoeOuts
  • 97.4% (Exalted)
  • YAF Developer
14 years ago
Quote:



This is only good if you always want that image as a background.

To have it change with the theme you would have to change it in the theme.css file.
KASL Technologies  - Specializing in Custom Web Application Development