Container for static nav

Issue #30 resolved
Francis Beresford created an issue

Could we get the container used for Fixed navbars also available for Static navbars as shown in the bootstrap docs?

line 124 of BsNavbar would look like this:

if (isset($this->position) && ($this->position === BSHtml::NAVBAR_POSITION_FIXED_TOP || $this->position === BSHtml::NAVBAR_POSITION_STATIC_TOP)) {

Comments (4)

  1. Francis Beresford reporter

    Thanks for this, but I think you must have rushed it, it's still broken :P

    You'll need to change the second isset($this->position) to just $this->position. And the extra brackets around the OR are important too.

    Cheers,

  2. Log in to comment