Home Forums Newsletter Plugin Support Is there any way to change/add css classes to the subscription forms?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #325137
    claus
    Participant

    I use divi, and have well-designed buttons. They look much different than the standard newsletter subscription buttons. They have the class "et_pb_button".

    Of course, I could copy all the css defining my buttons and add them with "!important" to the newsletter form, but when I change design in divi, I have to change this by hand too.

    Is there any way to add classes to the newsletter subscription forms? That would make me much more flexible in changing design.

    Many thanks, Claus

    #325142
    Michael
    Keymaster

    Hello Claus,

    do you have a live example of the buttons design you'd like to get?

    Thanks,
    Michael

    #325146
    claus
    Participant

    yes, I have: https://clausfaber.net.

    There is a red button (class a.et_pb_button), and the tnp plugin button (class input.tnp-submit). I want to behave them the same.

    I already tried the workaround: I copied all css definitions from the further to the latter, but there is an ::after item in the red button I can't transfer to the other. Is this because the one is a link and the other an input element?

    #333153
    Anonymous
    Participant

    Hello Claus,
    Have you found a solution to this? I am using DIVI too, and would like to change the design of the form...

    #333266
    Michael
    Keymaster

    Hello,

    if you use a custom coded form (html form) you can add any class you'd like to. This will also remain consistent even if you change your design or update the plugin of course.

    Michael

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.