CSS Menu Breakpoint

Issues related to previewing and publishing your web site.
Post Reply
User avatar
gofrank
 
 
Posts: 181
Joined: Sun Dec 30, 2007 2:43 am
Location: Florida, USA

CSS Menu Breakpoint

Post by gofrank »

Using the CSS menu in a project, I noticed when reaching the specified breakpoint (480), the menu behavior differs from what appears in the WB workspace. In preview, at 480 the menu items do not "stack" and stretch to the full width of the browser. Instead, they retain their pre-breakpoint widths and "word wrap" to form a second menu row.

This sample project demonstrates the issue.

If the menu breakpoint is set to 768, the menu does not break at 768, but instead breaks at 480 with the menu appearing "stacked" and full width (desired behavior).

In the workspace, all breakpoints display correctly and correspond to the breakpoint setting of the menu.

In the sample, switching the menu breakpoint between 768 and 480 will show you what I mean.
Billing clients for your freelance work? Try Minute-2-Minute, the project management, timing, and billing system. Perfect for web developers who charge by the hour. FREE 45-day trial.
User avatar
Pablo
 
Posts: 21719
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: CSS Menu Breakpoint

Post by Pablo »

You will need to set the breakpoint of the CSS menu to 767.
Post Reply