Jump to content

Archived

This topic is now archived and is closed to further replies.

jacecar

Simple CSS Question

Recommended Posts

jacecar

I am having a simple problem that has perplexed me for several hours.  I am running DMS with the Viewer child theme on my personal/testing website, www.jacecar.com.  It's very much under construction, so don't scream too loudly if you visit.  Also, keep in mind that I'm color blind/deficient, so normal/healthy color combinations don't occur to me.  Before I deliver anything to a customer, I make sure my wife and others assist me with color choices, image selection, and so forth.  The problem I am having here is not related to color blindness.  I can tell a light color from a dark one.

 

I am attempting to create a site with a fixed image background (mainly dark) with light text, highlight, hover, link, etc. attributes.  In the DMS configuration section, I am able to go into settings and set the base background color, foreground color, and link color.  Anything beyond that has to be done in CSS, but my lack of familiarity with the new DMS framework (no pun intended) is slowing me down.

 

For some strange reason, the Viewer child theme, even with a dark background and light foreground/main text color, leaves the h1,h2,h3, etc. styles defined as #939393 with the following snippet buried somewhere in the code:

 

h1, h2, h3, h4, h5
{
    font-weight: normal;
    color: #939393;
}

 

I've tried to put an override CSS in various places, but nothing will overwrite these styles.  This should be easy and straightforward, but it's not working.  I have done everything I can think of, including resetting the themes, reloading all the modules, and putting the following CSS in about 10 different places with no result:

 

h1, h2, h3, h4, h5{
    font-weight: normal;
    color: #FFFFFF;
}
 
I am not using caching, and I have manipulated enough other source and module files to know if I was getting an error caused by an un-flushed cache.  There is always the possibility that I have a conflict with one of my modules or widgets, but I don't think so.  This is fairly straightforward.
 
I hope someone can show me how easy this is to fix.  I would really hate to have to do something drastic to fix a color display issue.
 

>jace

@Jacecar

me@jacecar.com

Share this post


Link to post
Share on other sites
Danny

Hi,

 

The reason is that, this is a child theme and therefore, has it own custom styling. In order to change these colors, you will need to use your own CSS/LESS, you can do this by adding your custom CSS to the DMS Toolbar > Custom > Custom CSS/LESS or use the Customize Plugin.

 

I added the following code to the Custom CSS/LESS editor and it worked like a charm.

 

http://d.pr/i/EyJc

body { color: pink; }

I also was able to override the header tags using the following code:

 

h1, h2, h3, h4, h5 { color: green; }

 

http://d.pr/i/h6I2


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • Dan Haddock
      By Dan Haddock
      Plugins Active and installed: 
      Akismet Anti-Spam
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools  
      Enhanced Media Library  
      Flamingo
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap
      Jetpack by WordPress.com
      Legull 
      Loginizer   
      MailChimp for WordPress
      PageLines Updater    
      Schema App Structured Data 
      Sucuri Security - Auditing, Malware Scanner and Hardening
      Uber reCaptcha    
      Yoast SEO
      Wordpress Version: 4.8.1
      Pagelines Version: 2.2.4
       
      Good Evening/Afternoon or Morning, 
      I am running into a problem with CSS styling not applying inside of most browsers (Safari, Firefox) when I am logged in to wordpress, and all browsers that I have tested when I am logged off and the site has been made public (Chrome, Firefox and Safari).
      As a result, I have managed to identify the probable cause. It looks as though these browsers are refusing to render my sites compiled CSS file due to it being a HTTP URL rather than HTTPS.
      I have attempted to change this URL to HTTPS in my browser, however it brings back an ERROR: File not found page - https://www.shortfilmblog.com/wp-content/uploads/pagelines/compiled-css-core-1505847507.css
      What would you suggest in this regard? Would this be resolvable from your end?
      Happy to provide any further details required.
    • Borries
      By Borries+
      I know this is not an easy problem. Maybe there is a easy solution.
      I have tryed to uses the existing solution, that I have found in the forum
      I changed the colours of my nav (simple nav) and the hover effect (a. hover).
      I really tryed to highlight the active/used link in the nav but I cant figure it out.
      I want it to be black when active.
      Any help would be appreciated. Thanks.
      http://www.marcborries.de  nav link: "Sinn & Selbst" 
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
×