I want to hide the button on a leadflow popup so I can direct someone to another place on the site, and not fill out a form. I was given code by Hubspot that works when they test it, but does not work for us. We put the code into WordPress, but it is not working. Does anyone have knowledge of where to add Wordpress CSS? I think we may be putting it in the wrong area. Thanks.
@de,
Wordpress can be tricky. Chances are you are using a child theme of a general theme or some other method of WordPress madness. I would:
1. test the css using a live css editor. I use a chrome extension called “Magic CSS”, you can find it in the chrome extension store for free. Just install it an paste the css into the little text box that it pops up when you on the page that the flow should be on. If it does what you need then the css is good and you can worry about adding it to your wordpress site perminately.
2. if the css is good then you should figure out what style sheet is in play on your site. There could be many so you want to use the one that is most relavant to your customized theme. Right click and view source, or use (ctrl + u) to view the page source code. Find the head tags (<head></head>) and find the (<link>) tag(s) in the (<head>) of your document. chances are the most relavent one will be at the bottom of the list of (<link>) tags.
3. go to your wordpress dashboard, hover on appearance on the left hand nav bar, find and click editor, accept the warning if one comes up, and you will be in a dashbard that contains the coded pages for your theme. Your stylesheet should be listed here on the right. Be very careful what you do here, but find your style sheet and scroll to the bottom of it. paste you css here.
4. Clear your sites host cache, clear your browser cache, clear any caching plugins, ( I usually have to flush my routers dns cache as well) then check the page. If the changes didn’t apply then most likely you chose the wrong stylesheet.
I hope that helps.
i have also just come across this situation.
The only option at present is an opening callout message and then a simple form, which is only geared towards some sort of subscription sign up.
in this instance we have a need to link users to a different promotion page. But we don’t want to collect their email address or any other details immediately on the leadflow popup.