WordPress.org

Forums

CSS Editor Problem (7 posts)

  1. robertcmullins
    Member
    Posted 2 years ago #

    I am trying to get rid of the background image on a template page.

    In the CSS I have
    body.page-template-culinary {
    background-color: #000000;
    background: none;
    }

    It works, but I keep getting this dumb error:

    "Element is overqualified (body.page-template-culinary). Just use .page-template-culinary without element name"

    If I try anything else it doesn't work.

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    What theme and/or editor are you using?

  3. robertcmullins
    Member
    Posted 2 years ago #

    Using an Origin Child theme. The editor is the built in one that is on WP.

  4. robertcmullins
    Member
    Posted 2 years ago #

    The main thing is that if I take out the 'body' qualifier the code won't work. EX. .page-template-culinary{background: none;}

  5. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Without seeing the site, no real way to address an issue like this...

  6. robertcmullins
    Member
    Posted 2 years ago #

    It's the wordpress built-in CSS editor, how does going to the site help you to address it?

  7. WPyogi
    Forum Moderator
    Posted 2 years ago #

    I have not seen that error before - try deactivating your plugins - perhaps one is doing that?

Topic Closed

This topic has been closed to new replies.

About this Topic