How can I manually change the breakpoints in Webflow's custom code to have a breakpoint at 1800px instead of the current 1024px?

Published on
September 22, 2023

To manually change the breakpoints in Webflow's custom code, you can follow these steps:

  1. Open your project in Webflow and go to the Designer.

  2. In the top toolbar, click on the "Settings" icon (gear icon) to open the Project Settings menu.

  3. In the Project Settings menu, select the "Custom Code" tab.

  4. Scroll down to the "Before " section and click on the "Add Code" button.

  5. In the code editor that appears, you will see a section labeled "Head Code". This is where you can add custom CSS code to modify the breakpoints.

  6. To change the breakpoints, you will need to use media queries. Media queries allow you to apply different styles based on the screen width. Here's an example of a media query that sets a breakpoint at 1800px:

    ```css
    @media screen and (min-width: 1800px) {
    /_ Add your custom styles for the 1800px breakpoint here _/
    }
    ```

  7. Copy and paste this code into the "Head Code" section above any other media queries that are already present.

  8. Modify the code inside the media query to apply the desired styles for the 1800px breakpoint.

  9. Once you have made the necessary changes, click on the "Save Changes" button to apply the custom code to your project.

  10. Preview your site and test the layout at the new breakpoint width.

By manually adjusting the breakpoints in Webflow's custom code, you can have more control over how your site looks and functions at different screen sizes.

Additional Questions:

  • How can I add custom CSS code in Webflow?
  • Can I modify the breakpoints for different devices separately in Webflow?
  • What other CSS properties can I customize using media queries in Webflow?