Airfleet - event page form

Hi!

I’m trying add new fields to a newly created form, but when i had it to the landing page, it does not get formatted correctly.

Even though i add to the code new lines to get formatted, it’s not adapting correctly.

thanks for the help in advance.

Hi @SaravCrespo

Thank you for reaching out.

I want to tag some of our experts here - @LMeert @Jake_Lett @Oezcan do you have any suggestion for @SaravCrespo on this?

Thank you!

Best

Tiphaine

Hi @TitiCuisset , @SaravCrespo,

From the screenshot you added, I see two mistakes and two potential errors :

- the css property font-family is mispelled : it’s “font-family” not “fontFamily”

- if you have a look at the html generated by the form, you’ll find out that type=“session” does not exist, it’s more likely name=“sesion”, so change your css selector like this :

.af-event-form .hs-action input[name="sesion"]

Two things you might also consider :

- check if the name of your field is indeed sesion and not ‘session’ (I noticed it’s in spanish, hence one “s” instead of two in english. Update the selector accordingly.

- you may want to add another rule targetting the list of options to remove the bullet points, it’s done using the following property :

[your list selector goes here] {
 list-style-type : none;
}

Hope this helps !
If it does, please consider marking this answer as a solution :slightly_smiling_face:

If you still can’t figure it out, please send us the page link so we can better help you out.

Best,

Ludwig

Hi Ludwig,

thanks for the help.

It didn’t apply correctly.

this is the design manager: Design Manager | HubSpot

and the LP: Edit Page | HubSpot

thanks

@SaravCrespo,

I can’t access your HubSpot instance, you’ll need to send me the page url, not the url of the editor.

Hi,

here: Connected Home

thanks

@SaravCrespo,

Depending on what you want to achieve exactly, tinkering with css without knowing the basics may be too much for you to handle.
I can gladly give you a solution for this, but you will encounter more roadblocks along the way and the best way to overcome that is to learn css and how to write selectors to target the elements you need to adjust.
This fun little game should help you out tremendously.

Now to your problem, here’s an extract of the code for the “sesion” field :

Let’s say you want to remove the bullet points, you’ll have to target the list and then apply the rule “list-style-type:none” to get rid of them.

The list is in a div that is in a div whose classes contain hs_sesion and hs-sesion, so here’s one way of targetting it :

.hs-sesion div ul {
 list-style-type: none;
}

If you want to remove all bullet points from all lists within the form, you can also do this :

.hs-form ul {
 list-style-type : none;
}

Hope this helps !
If it does, please consider marking this answer as a solution :slightly_smiling_face:

Best,

Ludwig