yeppers
  •  yeppers
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2009-07-06T06:52:51Z
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

<div style="width:1280px;"> Then adding the </div> to close it. (note: add code before <yaf:forum runat="server" id="forum" /> then add the </div> after it to close it.)

Ive learned that much so far.

I want a back ground image just like the on scene on this website. 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
2009-07-06T11:35:47Z
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
2009-07-06T14:25:08Z
Or.....

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


<body style="background-image:url(images/your.jpg)">

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
2009-07-07T01:39:27Z
All done....Yay!!

check it out.

www.cencalriders.com 
JoeOuts
2009-07-07T14:08:28Z
Quote:

<body style="background-image:url(images/your.jpg)">



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

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved