• Resolved sparklogix

    (@mybenson)


    I just uploaded a custom theme, which was very minimally modified from a working theme, and only some of my CSS is being recognized. When I view the CSS file in the editor, it’s all there and correct, but when I activate the theme, the header, body and sidebar are all wonky.

    https://www.qualitycustomorthotics.com/wordpress/

    Any idea why or what I need to do to fix this?? Thanks so much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You have some markup validation errors that may be affecting the display. I’d also strongly recommend that you rename your current theme’s folder to ensure that it does not include any spaces.

    https://jigsaw.w3.org/css-validator/validator?warning=2&uri=http%3A%2F%2Fwww.qualitycustomorthotics.com%2Fwordpress%2F

    Thread Starter sparklogix

    (@mybenson)

    Thanks. I’m still pretty new to CSS and I’m still not sure what some of those validation errors mean. Obviously, a big chunk of my problem is the images not showing. I haven’t had this problem on previous sites, but what does this mean and how can I fix it:

    Value Error : background Too many values or values are not recognized : url(images/ortho.png) none no-repeat center top

    I really appreciate all your help. You seem to be the one that always helps me solve my problems on here. Thanks again.

    Thread Starter sparklogix

    (@mybenson)

    I figured it out. Thanks again for your help.

    Just in case anyone else has the same problem…

    url(images/ortho.png) none no-repeat center top

    In the background CSS property, you can only have:

    – color (assumed to be transparent if not specified)
    – the url of an image
    – the background position
    – instructions as to whether the background image should repeat and how (options: no-repeat, repeat-y or repeat-x)
    – background scrolling: options are either “fixed” or “scroll” (default)

    In the error above, the odd one out is “none”. The corrected line should read url(images/ortho.png) no-repeat center top

    I’m having the same problem and I tried the css validator… It told me there were two errors but didn’t tell me what they are. The css is working on all of my non wordpress pages just fine.

    https://www.erbandesign.com/wordpress

    Oh and ps the css is working fine on my new site. I haven’t made it available yet. but just so you know it isn’t the same css from the rest of my site should you surf around

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Partial CSS isn’t being recognized, custom theme not working’ is closed to new replies.