Okay
  Public Ticket #3726159
Salient WPForm button no CSS
Closed

Comments

  •  2
    mathews started the conversation

    I'm using the salient theme with the WPForm plugin and noticed on a recent update that the subscribe button has turned blue. I can't find any way to change it so after some digging, I noticed that in the WPForms advanced settings, there is no CSS assigned to the button, only the form. How can I change this back to the theme style that came with Salient Mag?

  •  1,882
    Judith replied

    Hi Mathews,

    Thanks for writing to us.

    Please share your website URL so that we can provide css to make the adjustments.

    I look forward to your response.


  •   mathews replied privately
  •  1,882
    Judith replied

    Hello Mathews,

    Thanks for writing back.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    html body .nectar-inline-subscribe-form.wpforms-container-full .wpforms-form .wpforms-submit-container button {
        background-color: #9c0e0e;
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related

    If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

  •  2
    mathews replied

    Hi Judith,

    I added the code and it just turned the button red. Sorry for the mis-understanding but i want the button to turn to a grey color on hover (#141414) and the actual button to remain black exactly like the demo here: https://themenectar.com/salient/mag/

    Thanks

  •  8,858
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    div.wpforms-container-full button[type=submit]:hover {
        background-color: #ccc !important;
    }

    Thanks



    ThemeNectar Support Team 

  •  2
    mathews replied

    Thank you Tahir, you've fixed the problem :)