Imported CSS in a WordPress theme...can I change?

Here's my stylesheet (style.css).  I need to be able to change some CSS for certain elements, can I replace the imported CSS with one held on our server?


Theme Name: Dopamine
Theme URI:
Description: Responsive Multipurpose Corporate WordPress Theme
Author: Skyali & Zucchero
Author URI:
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags:light, dark, white, black, gray, one-column, two-columns,  custom-menu,  featured-images, full-width-template, post-formats, theme-options, translation-ready, custom-colors


@import url("css/base.css");
Roderick WolsiferAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

F PCommented:
CSS is a top down interpretation of whatever you tell it. Meaning? basically this code:

a { color: blue; }
a { color: purple; }
a { color: red; }

Open in new window

... would make the browser use "red" for the color of font within an anchor tag anywhere on the page like this:

<a>red font here!</a>

So, in the footer of your php, and before the closing </html> or </body> tags, just add whatever you want to cancel out or reset in again and it'll override it. The only issue is it needs to load the entire page before it gets to your styling, but once it sees it, it doesn't use the previously overridden CSS.
Roderick WolsiferAuthor Commented:

That's the site I'm working on.  My primary concern right now is I cannot get the menu to fit within the header space next to our logo.  If I expand the 'container' attribute in CSS to make it fit, the rest of the site is thrown off.

Worse, when I make changes to the NOO Menu in the WP dashboard, the changes aren't reflected on the page itself.  The CSS is chock full of !important tags and I have no idea which one is keeping my menu changes from happening.
F PCommented:
You can add this to the bottom of your css:

#header > div.logo_menu_area > div > div > div.span9 { width: 820px; }

Open in new window

which will spill it over down underneath the logo, or:

#logo > a > img { width: 175px; }
#header > div.logo_menu_area > div > div > div.span3 { margin-left: 0; width: 175px; }
#header > div.logo_menu_area > div > div > div.span9 { width: 820px; }

Open in new window

... add those and it will make your logo smaller, but fit everything into one line.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
F PCommented:
I've done medical sites before, take a look here:
or here:

and you'll see that usually it makes sense to narrow your verbiage at some parts. *e.g., Patient Information -> Patients *or* For Patients, etc... where you could say *our doctors* instead of Meet the Doctors.

Hope that helps!
Roderick WolsiferAuthor Commented:
This did the trick, thanks a mil!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.