Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Php/css help (More wordpress than Vanilla)

edited July 2006 in Vanilla 1.0 Help
Thought I'd throw this out in case anyone here is bored on a Sat. afternoon. My Vanilla is almost ready, but my wp blog is suffering. I know no php and can only hack away at css, so what I've tried is ambitious in the least. But I've made a good go of it so far: now I'm stumped. I have a wordpress installation with the Hemingway theme. I want to integrate it in my site, with a header/banner that caps the Hemingway, something like how Mark has the stripey banner insert above this Vanilla. So, just experimenting yesterday arvo, I separated the html needed for the banner (which refs it's own css) and placed a php iclude in the Hemingway header.php. Bingo! The page loads the banner from my main site, then the Hemingway below it. The only problem is that the stylesheets interfere with each other and I'm too thick to figure it out. Take a look, if you'd like: And this is a mock-up of how it should look: Is it to do with divs? Would it be best to comb through this and change the css so there are no conflicts---what could be wrong? Is it possible to do a php include which keeps the css separate? Or, would it be best to go about this whole thing in a different way? Any help appreciated...


  • Options
    edited July 2006
    Sorry, I do see the difference now. Where did you put the include in the header file? Your page has css validation errors. Maybe that can help you, too.
  • Options
    ok thats wierd, first time i go on its not aligned or anything but if i go to one link then back (as in click on it) then it works fine. Yet refreshing on the blog page makes no difference. Crazy
  • Options
    There's all sorts of issues here - look at the source code. There's html before the <head>; you need to make sure than any content (like <h2>Live, Love, Laugh and be Happy...</h2>) comes after <html><head></head><body>. Try fixing that before you go on. Regards, Martin.
  • Options
    Ah, thanks all. My hack was worth a go, but I think though, it's all too much for me. I think I'll get someone in to sort it.
This discussion has been closed.