• Resolved lesimonis

    (@lesimonis)


    My css looks just fine when I’m logged in, but the minute I log out my site title and entry titles change.

    I have been using the Improved Simpler CSS to customize the theme. Everything works fine except my changed site title and entry titles. It appears that it is pulling the css from the theme css (black.css) and not my custom css.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew

    (@andrewlindner1)

    Hi lesimonis,

    Please post the url and let the know the styles that are not working.
    This should be an easy fix.

    Thanks,
    Andy

    Thread Starter lesimonis

    (@lesimonis)

    https://www.lesimonis.com

    #site-title a{
    color: #B8ff70;
    font-family: Optima;
    }

    .entry-title{
    color: #5C0131;
    }

    Those are the ones not working. They had worked before, and all of a sudden this issue came up.

    Andrew

    (@andrewlindner1)

    Try This:

    #site-title a{
    color: #B8ff70 !important;
    font-family: Optima !important;
    }

    .entry-title{
    color: #5C0131 !important;
    }

    This “!important” added after the value of your style should overwrite the styles from black.css. This is confusing because you would think the child theme or Improved Simpler CSS would overwrite the core files but its not always the case.

    Hope this helps!

    Andrew

    (@andrewlindner1)

    If you have this issue again you can inspect element and if there is a line through the style that you are having trouble with, chances are it is being overwritten by the parent stylesheet. Just add that !important and it will make that style the “parent” style.

    Thread Starter lesimonis

    (@lesimonis)

    Ah! Perfect! Thanks so much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CSS issues’ is closed to new replies.