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.

Separating Header & Navigation

edited September 2006 in Vanilla 1.0 Help
Folks,
Im working on a new theme for vanilla but I have ran into a few problems, how would I go about seperating the navigation from the header, because at the moment navigation is contained within the header DIV.

Are you with me!?

Comments

  • I have to say I love Vanilla, but looking through some of the CSS my mind boggles, Mark some of the CSS could be so much easier to edit! Maybe its just me?
  • edited September 2006
    Themes?
  • edited September 2006
    Either a theme or use absolute positioning-- that will pull any element out of its normal flow and allow it to be placed anywhere.

    Give this a shot:#Header ul { position: absolute; top: 200px; }
  • okay thanks I'll give it a try... I'll let you know if its successful.
  • Hi!

    Either a theme or use absolute positioning-- that will pull any element out of its normal flow and allow it to be placed anywhere.

    Would be fine, if there would be a way to change the (X)HTML-Structure of a design. Using absolut positions isn't what I like to do! :-(

    Bye
    Tiggr
  • If you don't want to use absolute positioning, or floats (which I am trying to do to get the tabs lined up inside a left panel), you can always make a new theme, with whichever markup you desire.
  • Thats what I think Im going to do, basically I don't like the way some of the CSS is structured, it makes it to complicated, so i think I'll go for the theme!

    Thanks for the help (and by the way Im not a fan of absolute positioning really, it can easily get messed up in different screen resolutions.)
  • Oh well I give up! Im not good with PHP so can't edit any theme files. shame its not a bit easier like wordpress is to theme. never mind
  • You dont really need to be any good with php to edit the theme files, just dont touch it.
  • Hello again!

    >>you can always make a new theme, with whichever markup you desire.<<

    That's what I'm doing, but I have also to change some values inside conf/conf.php, didn't find a way to add new css-files, or remove the old ones from the header.

    Perhabs, this is all my fault, but it looks, as I have to write a extension, to support my design!

    Bye
    Tiggr
  • You can do a import to add additional CSS...

    On that same vein, I was wishing for some style-attached JS to use for rollover menu effects
  • Hi!

    >>You can do a import to add additional CSS...<<

    That's not the same! ;-)

    Vanilla is very good for Extensions, making new designs lags some of the possibilities we have for extensions.

    Bye
    Tiggr
This discussion has been closed.