• Resolved nick6352683

    (@nick6352683)


    Great plugin, and nice going with the new row/columns feature. What is the CSS code I need to add to my theme, to change the responsive breakpoint. I think it’s set at 768px (just a guess), but i would love to create a theme Customizer control so my end users can decide it themselves, and make it to have the same responsive breakpoint with everything else…

    Thanks in advance…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rich Tabor

    (@richtabor)

    Hey Nick!

    For the generated styles using the Advanced margin/padding controls, you can use the coblocks_tablet_breakpoint and coblocks_desktop_breakpoint filters to change the default values (768px and 514px respectively).

    But for columns, the responsive bits are a bit more complex. You can achieve a custom breakpoint by adding this gist of CSS, and manipulating the value of the @media max-width on line 1.

    Eventually we’ll build an interface within Gutenberg that lets folks manipulate this sort of customization (and others).

    And thanks for the kind words! If you have a second, do you mind leaving a review here on www.remarpro.com? We’d greatly appreciate it! ??

    Thread Starter nick6352683

    (@nick6352683)

    Aha !!!

    Thanks a million Rich for a fast response, I just wish all developers were this responsive and helpful. That gist of CSS is exactly what I needed I think. I will give it a try, but before even doing that I will give you a 5 star review…

    Thanks again,
    Nick.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Before diving into the code…’ is closed to new replies.