Milada Posted November 16, 2016 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 Link to comment Share on other sites More sharing options...
dsonesuk Posted November 21, 2016 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. Link to comment Share on other sites More sharing options...
Milada Posted November 23, 2016 Author 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. Link to comment Share on other sites More sharing options...
Milada Posted November 23, 2016 Author 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? Link to comment Share on other sites More sharing options...
dsonesuk Posted November 24, 2016 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 Link to comment Share on other sites More sharing options...
Milada Posted November 24, 2016 Author 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 Link to comment Share on other sites More sharing options...
Milada Posted November 24, 2016 Author 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> Link to comment Share on other sites More sharing options...
Milada Posted November 27, 2016 Author 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now