elraymundo
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to Apply Multiple Style Sheets to One BlogPodz,
Thanks for the detailed help! I’m parsing through that line-by-line trying to figure it out (I’m not so PHP litrate, but I’m slowly getting there).
I hope you don’t mind a couple of questions about what you wrote?
1. Does it matter where in header.php all that code goes?
2. Does CAT = Category? I’m sure it does, but just asking to be positive.
3. Do I need both the PAGE and the CAT sections of code?
4. I think I understand what is going on with the CAT code – you are assigning a different CSS style (and thus banner image) to each Category based on the name of the Category (Dogs. Cats, VanillaDietCoke, etc) correct? But how does the CAT code know if it is “looking” at the Dogs or Cats section?
5. Does the code in PAGE mean that for every page on the site I should add an elseif statement in order to assign a banner graphic? That can’t be right…
Forum: Themes and Templates
In reply to: How to Apply Multiple Style Sheets to One BlogAh, ok. Here, this might clear it up. 🙂
I want to convert an existing site ( http://www.teamraymond.com ) from hand-written code and make it all run out of WP.
I currently have a blog running out of WP at http://www2.teamraymond.com.
The existing web site (not the blog) has (or will eventually have) 8 – 10 sections, such as Travel, Books, Recipes, Resumes, Photos, etc. I would like to use a different masthead graphic for each section (like in this example: http://www.teamraymond.com/slideshows.html) so that each section looks a little different from the others. I would also like to hyperlink each section’s masthead graphic to the section homepage (so if you’re three levels down into Photos, for example, clicking the Photos masthead would take you back to the main Photos page – like the blog masthead graphic does).
I understand that templates are the best way to do this, but cannot figure out how to apply differnet styles to each template. I’ve tried a number of things, but nothing seems to work. I have created a template called recipes.php; it shows up in Write > Write Page > Page Template menu, but how do I make that template display a different masthead graphic than that listed in styles.css?
Ok, that exhausted me. But I hope that clears up my dilemma. Thanks again for your responses!
Forum: Themes and Templates
In reply to: How to Apply Multiple Style Sheets to One BlogMoshu, thanks for responding!
I’d like to create the pages in WP, Write > Write Pages.
But then I get stuck with how to apply different style sheets to each section of pages (as well as different masthead graphics, etc.)