ThemeShaper Forums » Thematic


How to add #access inside #main div?

(6 posts)
  • Started 12 years ago by theorib
  • Latest reply from joeangelo
  • This topic is resolved
  1. Hi all,

    I'm trying to figure how can I move the #access div inside the #main div before the #container and sidebars.

    I could easily put it on the thematic_belowheader() hook but that won't do...
    I'm styling a complicated fluid layout and would be really awesome having #access inside the #main div for a vertical menu.

    As there is no action hook for that, I figured it may be possible through functions.php but it's beyond my skills...

    Any help is welcome!


    Posted 12 years ago #
  2. Hi Theo,

    sorry .. currently this can't be done using the functions.php.

    I could integrate something like an thematic_above_container() hook.


    Posted 12 years ago #
  3. That sounds like a nice solution Chris!

    For the moment I copied the header.php to my child theme file and added an action hook immediately bellow the #main div.

    Thanks for your response!


    Posted 12 years ago #
  4. Hi Theo,

    I included the new action hook thematic_container_above() right between #main and #container. The new SVN revision 560 is already available.


    Posted 12 years ago #
  5. Chris you are Awesome!!!

    I don't need it but I reckon it would be useful for someone to add another hook just before the closing tag of the #main div as well.

    People could include everything in another div tag if they wanted to or put something else down there...

    Thanks loads!


    Posted 12 years ago #
  6. I need the feature so many thanks to both of you. However, the hook that worked for me was "thematic_abovecontainer".

    Thanks again.

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.