Jump to content

knews subscription form widget css custom


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 post
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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...