Widget is keep on changing ID – impossible to style
-
Hi guys,
I’m trying to style a form that is in a post.
If I use the HTML code, I’m able to style it using CSS, because the ID is fixed
ex. #form-wysija-html44fgf25rad3f3-8I tried to do the same with the same form, but using the shortcode to add it to the post (so, if I make a change to the form, it will automatically reflect in the form, if not I’ll have to change the HTML code into the post).
I noticed that the code below that I highlight in bold is changing everytime I refresh the page, this is making the styling of the form impossible if I add it in the post using the shortcode.
ex. #form-wysija-shortcode44fcdf9b2o434-8I have another form into the sidebar, and I added it with the shortcode, however, for this one I’m able to style using the form ID. But in this case the ID is different as it is wysija-2
I tried to style the previous one using the ID wysija-8 (as the shortcode ID is 8), but it is not working.
Am I missing something?
- The topic ‘Widget is keep on changing ID – impossible to style’ is closed to new replies.