• Resolved ronherren

    (@ronherren)


    I want to add content to the right of the navbar in the Customizr header that is the same size as the logo’s .brand span3 (25% width). So I know I’ll probably need to do something to change the navbar size to span6; similar to what is described here.

    In summary, I want to center the navbar and take-up 50% width plus have two areas on the left (logo/title) and right (my_new_content) that each take up 25% width.

    Do I need to use the __after_navbar hook? I need the content on the same row as the header and logo; not below. I’m not looking for a widget area; I need to be able to enter my own HTML/JavaScirpt/PHP.

    Thank you in advance for any assistance! -Ron

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can change the width to span6 as you’ve seen above, then hook something else on the hooks __after_header, __header, or __after_navbar.

    See this snippet, which is probably the nearest snippet to what you want to do.

    It’s not ideal, but it would work.

    The ideal solution would be to reformat the whole header area using the hooks in class-header-header_main.php. But that’s beyond my knowledge, for now (and time available). I’d probably start by adding an action on the __header hook, with an associated function my_right_logo_display. If you are able to go down this route, line 32 of class-header-header_main.php, which adds the action to call the tc_navbar_display will give you the inspiration 🙂

    Thread Starter ronherren

    (@ronherren)

    Oh, thank you so much EF! …and sorry for delay as I thought I’d get email notice of your post… hmm… Anyway, I haven’t implemented yet, but I’ll mark resolved because I know you are correct. 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add content to right of navbar in header’ is closed to new replies.