WordPress.org

Forums

Customizr
[resolved] [Theme Customizr] Navbar width triggering the switch to responsible navbar (4 posts)

  1. HugoCornu
    Member
    Posted 1 year ago #

    Hi,

    I am using the Customizr theme.

    In the header there is an element called navbar. When the browser window width is superior to a value the navbar is not collapsed. When the browser window width is inferior to that value the navbar is collapsed.

    I would like to change that value.
    I haven't been able to locate the piece of code that trigger the change of format. Is it in the CSS file, is it in the PHP files? I can't tell.

    regards
    Hugo

  2. MRM-Racing
    Member
    Posted 1 year ago #

    You will find them in CSS with tags @media

  3. rdellconsulting
    Member
    Posted 1 year ago #

    Did you see this snippet?

    The breakpoint is defined by Twitter Bootstrap at 979/980px. Wouldn't recommend changing that without understanding the impact it might have. Use @media as @MRM has suggested.

  4. HugoCornu
    Member
    Posted 1 year ago #

    @MRM Thank you

    @Rdell
    Thank you for the link to the snippet. The description helped me understood what the @media tag was standing for.

    Even though you are not recommending it, I think I don't have any choice but to change the breakpoint. My navbar is pretty small (about 450px), and it make no sense for it to collapse on a 800px witdh windonw

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic