Avatar of Roderick Wolsifer
Roderick Wolsifer
Flag for United States of America asked on

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: http://londonthemes.com/index.php?themeforest=true
Description: Responsive Multipurpose Corporate WordPress Theme
Author: Skyali & Zucchero
Author URI: http://londonthemes.com/index.php?themeforest=true
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");
WordPressCSS

Avatar of undefined
Last Comment
Roderick Wolsifer

8/22/2022 - Mon
F P

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 Wolsifer

ASKER
http://www.terrehauteoms.com/

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.
ASKER CERTIFIED SOLUTION
F P

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
F P

I've done medical sites before, take a look here:

http://www.neurologylasvegas.com
or here:
http://www.wolf-chiropractic.com

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!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Roderick Wolsifer

ASKER
This did the trick, thanks a mil!