I don’t want to sound condescending, but if you don’t understand even the very basics of HTML/CSS, not to mention PHP, I don’t think you’re going to have much success in building a WordPress template from scratch. For example, this is not valid anything, as far as I know:
<STYLE="background-image: http://www.thehazeworks.com/header2.jpg('uri')"></style>
And it’s in the body, too. But even in the head, it’s still invalid.
There are many other problems, too.
I really don’t want to be unkind about this, but it would be wrong of me to give you the impression that you could develop a WordPress theme from scratch without even a very basic grasp of HTML/CSS/PHP. My advice would be to start with one of the 1,500 or so free themes that are already written.
After you’ve got your site going with a pre-written theme, you could start making some alterations in a child theme. But you need to know a bit of CSS/HTML/PHP first.
HTH
PAE
Well thanks for you repley, but you shouldnt look too much into that page. Its total crap anyways. Thats why its a test page because im only messing around with the background…and there are codes still in there on several place at the wrong line..i know that. But all i want, is a background.
Other than that, i tried several themes and used their template, but NON of them has a custom background image ON the content area…so i dunno where to start. WHY is it so hard, to put a background on your content page…i dont get it.
Well, could I just ask in what way this has anything to do with WordPress?
Your page is just a straightforward HTML page. This forum is for problems with WP themes: not for teaching basic CSS/HTML.
If you have a theme related problem, we’ll be delighted to try to help.
Cheers
PAE
When you have a theme, you can make a child theme from it and set a background image in the child theme’s style sheet:
some-selector {
background-image: url("path/to/image.png");
}
Remember the path is relative to the style sheet.
Cheers
PAE
Alright, let me explain š
http://www.thehazeworks.com
If you go there…you see an intro page, if you hit enter, you will go to the pages with the twenty eleven theme.
Its like this, the INTRO page…with the video…is where i have the original problem. This is just a blanc page with a background and a youtube video on front. My problem is, that the resolution SHIFTS my video, and the background varies depending on the users resolution.
So my idea was, to make a template, with a centered content area.
So that i can put the background in there, and it would solve the resolution problem for the users, then add the youtube video.
So all i want to do is, make an intro page with a background that doesnt fall out of screen when different users enter the side, plus as you can see, i want the youtube video positioned on the right spot.
So thats the whole problem actually. I hope you guys can give me ANY solution to my problem here…CHEERS!
*sigh*
alright…i meant THIS intro page:
http://thehazeworks.com/splash.php
Nope. It takes me to a page that runs some video and makes some noise but doesn’t allow me to do anything. Hitting enter, or anything else does nothing for me.
Cheers
PAE
Well…it must. Its working right over here…and works on other computer as well…in firefox…its just a link
Lets put it in other words.
How do i put a background image in twenty eleven theme on the content area?
background:url(images/bg.png);
we should know content are div of twenty eleven