You were almost there…
- Use FTP e.g. filezilla to access your site
- use an EDITOR [not a wordprocessor] e.g. ‘NOTEPAD++ ‘ to edit code
Use Notepad++ as the editor in filezilla and you can easily open, edit and re-upload files.
In admin.css you’ll find the following code:
.error_msg {
color: #997206;/*brownish*/
margin: 0px;
font-weight: bold;
}
.success_msg {
color: #000000; /*black*/
margin: 0px;
font-weight: bold;
}
- Change any of the colors. make sure you use the correct syntax!!
Check out: http://www.colorpicker.com/
- save and upload
- check the result
== == == extra
How to find which CSS to change
About finding out ‘which things to change in your site [css / html / php]
Well it’s all a bit like trying to solve a puzzle.
Fortunately there are good tools for that.
In your browser: Install / activate webdevelopment add-ons / plugins.
Recommended: ‘Firebug’ and ‘webdeveloper: http://www.chrispederick.com ‘
These tools will show you what’s what.
e.g. right-click > inspect elements > click left bottom arrow-icon
click item in webpage
Inspect css on the right
alter css values to test effect / result
OK? copy altered css rule
paste it in the custom-CSS-tab of your theme or style.css of your childtheme, if such a custom-css-feature is not available in your theme.
Alternatively:
Press <F12> a screen will show in the bottom.
Move the mouse over each line
The area shows in the top-half
Press + to unfold parts
Investigate and alter on the right etc.
paste it in the custom-CSS-tab of your theme or style.css of your childtheme, if such a custom-css-feature is not available in your theme.
== == ==
HI there and thanks for your response.
Unfortunately, I had done everything you outlined. I have changed the CSS color in both ‘admin.css’ in the plugin folder and I also added a declaration in the main CSS stylesheet for the theme. Neverthless, the green is still overriding the blue I have changed it to. I think what is confusing to me is that the URL which developer tools references is a very weirid URL called ‘http://haines-law.com/?mcsf_action=main_css&ver=3.5.2’ This is not not an actual folder location. I’m guessing the theme is pulling the CSS from some remote source. I dunno but I do know that I am still stuck…
Hi Dave,
The ‘http://haines-law.com/?mcsf_action=main_css&ver=3.5.2’ probably means that the theme [??which] you are using has a CSS-customization-option built in.
See if you can find it [probably in the ‘theme options’ part of the site] >> Dashboard > Appearance > Themes > Theme Options ‘CSS customization’
If you cant find it: What’s the name of your [parent] original theme the site is based on?
Hey again:
The site is not based on an off-the-shelf theme. We write our own, usually and we wrote this as well… So then, there’s no built-in CSS customization, to my knowledge (and I did not see any…
I’ve posted a screenshot of what I’m seeing, with the inspection details here…
By the looks of it a CSS-rule was defined in two places for this:
media= "all" section of the code
.mc_success_msg{
color:green;
}
media= "screen, projection" section of the code
.mc_success_msg{
color:#336699;
}
I’ve located one in mailchimp.php
Edit [after making a backup] and change as required.
Thank you so much! That worked and allowed me to style as desired. If you don’t mind, can you tell me if there was any way I could have known that the offending style was found in ‘mailchimp.php?’ I basically had conceptually figured out what the problem was a week ago. I thought there was a style defined somewhere other than the plug-in’s stylesheet or my theme’s stylesheet and I was right. But how could I have known the style was found in ‘mailchimp.php?’ This is one of the frustrations I find when working with CMS driven sites…
Thanks again for all your advice; you made this so much easier…
dave
>>> [NOTE: the labels of these tabs are rough translations, since I use a Dutch version browser]
- I located the item in question using ‘inspect elements’ [right-click in your browser]
- The bottom-half of the screen has a number of tabs / options
- I first used the ínspector-tab to pinpoint the exact item
- Then, the item still active, I selected the ‘style-editor’tab
It shows a list of sources [stylesheets and inline styles that control the site
- Next I located the stylesheet[s] and style-rules in question in this list
- I tried if altering the style-rule[s] had the result required
- On the label/tab on the left of the list it shows the filepath and filename
- presto 😉
As suggested it’s a puzzle / frustration-tolerance-test at times, which I fail on many occasion 😉
>>>
How to find which CSS to change
About finding out ‘which things to change in your site [css / html / php]
Well it’s all a bit like trying to solve a puzzle.
Fortunately there are good tools for that.
In your browser: Install / activate webdevelopment add-ons / plugins.
Recommended: ‘Firebug’ and ‘webdeveloper: http://www.chrispederick.com ‘
These tools will show you what’s what.
e.g. right-click > inspect elements > click left bottom arrow-icon
click item in webpage
Inspect css on the right
alter css values to test effect / result
OK? copy altered css rule
paste it in the custom-CSS-tab of your theme or style.css of your childtheme, if such a custom-css-feature is not available in your theme.
Alternatively:
Press <F12> a screen will show in the bottom.
Move the mouse over each line
The area shows in the top-half
Press + to unfold parts
Investigate and alter on the right etc.
paste it in the custom-CSS-tab of your theme or style.css of your childtheme, if such a custom-css-feature is not available in your theme.
Oh BTW:
Please don’t forget to mark the thread as ‘resolved’ [in the right sidebar]