CSS Changes to Conversational Form

There are a number of things I need to do with my Conversational form and can’t find any help. Here’s the list:

  1. Make the logo bigger on the welcome page. It’s miniscule.
    2, Specify where the page breaks happen. It’s breaking after every Header and HTML element. Can I control that?
  2. I would like to make the image 1/3 of the page and the survey 2/3 of the page. How can I do this?

There may be more as I work through trying to create a Typeform type survey on my site but for now these are the big three.

Hi,

Good questions, here is how each one works.

1. Bigger logo

By default the logo is limited to 125px wide and 40px high. You can make it bigger with this CSS:

#gform-conversational {
	--gf-convo-header-logo-max-height: 80px;
	--gf-convo-header-logo-max-width: 250px;
}

If you want it bigger only on the welcome screen, use #gform-conversational.gform-conversational--welcome-active as the selector instead. The logo loads at the WordPress “Medium” size (300px by default), so above that it can look a bit blurry.

2. Page breaks

Conversational Forms shows one field per screen, and Page fields are ignored. Section and HTML fields count as fields too, so each one gets its own screen. Right now there is no setting to group fields together.

A simple workaround is to move that text into the Description of the next field. Then it shows on the same screen as the question.

3. Image 1/3, form 2/3

Go to Form Settings > Conversational Forms > Form Design. Set the Layout to Left Aligned or Right Aligned, then enable Background Image and upload your image. That gives a 50/50 split on screens 1024px and wider. To change it to 1/3 and 2/3, add this:

@media (min-width: 1024px) {
	#gform-conversational.gform-conversational--layout-left .gform-conversational__screens,
	#gform-conversational.gform-conversational--layout-right .gform-conversational__screens {
		inline-size: 66.666%;
		max-inline-size: 66.666%;
		min-inline-size: 66.666%;
	}

	#gform-conversational.gform-conversational--layout-left .gform-conversational__background,
	#gform-conversational.gform-conversational--layout-right .gform-conversational__background {
		inline-size: 33.333%;
		max-inline-size: 33.333%;
		min-inline-size: 33.333%;
	}
}

You can add the CSS in Appearance > Customize > Additional CSS. On a block theme it’s Appearance > Editor > Styles > Additional CSS.

Hope this helps, and feel free to ask if you have more questions!