Milada 0 Posted November 16, 2016 Report Share Posted November 16, 2016 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 Quote Link to post Share on other sites
dsonesuk 929 Posted November 21, 2016 Report Share Posted November 21, 2016 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. Quote Link to post Share on other sites
Milada 0 Posted November 23, 2016 Author Report Share Posted November 23, 2016 Thank you dsonesuk for your feed-back. I am desperate, I do not know what to do. When I enter my e-mail into the newsletter form here http://moreyouthfulskin.com/en/home/ - I am told that the e-mail is wrong. What should I do then? I would be grateful for a reply from you. Thank you in advance. Quote Link to post Share on other sites
Milada 0 Posted November 23, 2016 Author Report Share Posted November 23, 2016 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? Quote Link to post Share on other sites
dsonesuk 929 Posted November 24, 2016 Report Share Posted November 24, 2016 http://www.w3schools.com/html/html_classes.asp http://www.w3schools.com/cssref/sel_class.asp http://www.w3schools.com/tags/att_global_class.asp http://www.w3schools.com/css/default.asp Quote Link to post Share on other sites
Milada 0 Posted November 24, 2016 Author Report Share Posted November 24, 2016 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 Quote Link to post Share on other sites
Milada 0 Posted November 24, 2016 Author Report Share Posted November 24, 2016 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> Quote Link to post Share on other sites
Milada 0 Posted November 27, 2016 Author Report Share Posted November 27, 2016 Hallo dsonesuk, can you please also help me with the css for the newsletter form to function? Thank you very much in advance. Milada Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.