0

I am using the book module navigation block to display links to book pages. I was wondering if it was possible to alter it so rather than the children links appearing below the parent, they would appear to the side. This is because I want a horizontal navigation

Thanks

EDIT: For anyone wondering, the way to get book links to appear on the same level, you just need to make sure the child pages are pointing to the same parent, then just display that level of links to get a nav bar, styled this gives you a horizontal nav bar.

1

You can override node.tpl.php and customize where to render $content['book_navigation'].

Have also look at book-navigation.tpl.php and template_preprocess_book_navigation().

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.