Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Is it possible to add a container or a class around a form block?


rnichols19

Question

I am trying to use a code injection to allow for a form that uses conditional logic. I want to select multiple form field ids to hide specific fields from the form. However, when I try to set the display to none for those ids, the css is getting overriden by some website-wide css. Is it possible to put the form in a container so that I can select the ids within the container and keep the css from getting overriden?

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

I am trying to use a code injection to allow for a form that uses conditional logic. I want to select multiple form field ids to hide specific fields from the form. However, when I try to set the disp

1 answer to this question

Recommended Posts

  • 0
37 minutes ago, rnichols19 said:

I am trying to use a code injection to allow for a form that uses conditional logic. I want to select multiple form field ids to hide specific fields from the form. However, when I try to set the display to none for those ids, the css is getting overriden by some website-wide css. Is it possible to put the form in a container so that I can select the ids within the container and keep the css from getting overriden?

Could you share your site url so we can have a look?

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Portfolio hover Replace Link Style
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...