Jump to content

knews subscription form widget css custom


Milada

Recommended Posts

Hallo, can anyone help me with customizing widget CSS for the knews subscription form widget?

more info: in the pop-up window there is: (please see the attachment)

/* Write here your CSS classes. Please, use div.knews_add_user prefix to customize all Knews Subscription widgets at once, or #knews_widget-2 prefix to customize this one. Example: div.knews_add_user input { border: #e00 1px solid; } */

How should I handle this text in the pop-up window? Should I paste it into the functions.php file?

Thank you,

Milada

http://moreyouthfulskin.com

post-202875-0-73575000-1479333553_thumb.jpg

Link to comment
Share on other sites

Does it not clearly state 'CSS for knews widget', then below it 'CSS for widget', then later on 'Write here your CSS' classes, then gives you examples.

 

Since functions.php only accepts php code, as I have already explained, and by placing CSS in functions.php results in site crashing, as you again! have already experienced, would you not have gathered by this! that css does NOT go there in any state or form.

Link to comment
Share on other sites

What did you mean by your "Does it not clearly state 'CSS for knews widget', then below it 'CSS for widget', then later on 'Write here your CSS' classes, then gives you examples."

What are css classes? Should I paste "something" (what?) in the style.css file?

Link to comment
Share on other sites

Hallo dsonesuk,

 

I tried this code:

 

</form>

Subscribe me:

 

<form class="my-form knews-subscribe-form" action="/subscribe" method="post">

 

<input class=" knews-subscribe-input" type="text" placeholder="Enter your email address" />

 

<input type="submit" value="Subscribe me">

 

</form>

 

is it a correct one to be put in the pop-up window?

 

Milada

Link to comment
Share on other sites

rather this one:

 

</form>

Subscribe me:

 

<form class="my-form knews-subscribe-form" action="/subscribe" method="post">

 

<input class=" knews-subscribe-input" type="text" placeholder="Enter your email address" />

 

<input type="submit" value="Subscribe me">

 

/* div.knews_add_user input {

border: #e00 1px solid; } */

 

</form>

Link to comment
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...