MarkSinister
Forum Replies Created
-
Nevermind I figured out the problem. I had extra line space at the bottom of my function.php file.
Forum: Fixing WordPress
In reply to: Different background for different Post or Pages…Thanks even though your explanation was still a little confusing I got it to work now. My only other problem is the Homepage and the Post Page list??
I was able to edit the Homepage using
.home {
background-image:url(“background image path”);
}I wanted to change the Post List page background but for some reason I can’t? My site is setup to use Static front page display which moves my Post Page to another page.
I read this in the Theme Development:
front-page.php
The front page template, it is only used if you use a static front page.
home.php
The home page template, which is the front page by default. If you use a static front page this is the template for the page with the latest posts.The problem is it says if you use Static Front Page Home.php is for your Post Page List and Front-page.php is for your Static Homepage.
But when I put the code in CSS for “.front-page { CSS Code }” Nothing happens to front-page.php but if I use the “.home { CSS Code }” it edits the front-page.php page??? What’s up with that???
So what is the CSS tag for the Post list page??
Forum: Fixing WordPress
In reply to: Different background for different Post or Pages…Thanks for the help, but I’m not using any wordpress theme I’m building it from scratch.
Also do you know what the Class in the body should look like?
is it this <?php body_class();?>?Also I take it .page-id-46, .page-id-47, .page-id-48 are the names of the pages? So in my case it would be HOMEPAGE, SOMETHING TO TALK ABOUT…, GALLERY, ABOUT, CONTACT?
Thanks this fixed it.