• Resolved angeloadvsin

    (@angeloadvsin)


    Hello: just wonder why there is a max-width variable in plugin css with a fixed value of 940px (and advice to work-around this limitation)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Good question, and apologies for the late reply. This was initially set by the CSS plugin used for the form layouts, and I guess the author did this to simplify the design process and not have to handle larger screens.

    There is however a hook to change this, but keep in mind that the CSS is not optimised for larger widths, so you’ll need to check that and possibly adjust the column/row spacing,

    add_filter('cf7sg_max_form_width', 'set_form_max_width');
    function set_form_max_width($mw){
      return '1080';
    }

    Thread Starter angeloadvsin

    (@angeloadvsin)

    thank you very much… useful tip!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Max container width’ is closed to new replies.