Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-12-15 03:01:36

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

CSS showing error in Firefox inspector

Learning to use the Firefox Inspector and I find it is very useful.
However, I have stumbled upon an error message I don't quite understand:

The stylesheet https://pideja.ca/galleries/01-duceppe/ … pideja.css was not loaded because its MIME type, “text/html”, is not “text/css”.

I was trying to change the padding on the top of the main-copy-credits, so I changed the CSS

/* Main pallet credits / top padding */

.the__copy {
  padding-top: 50px;
}

and, returning to the inspector, I found the message.

The padding change does not implement. Did I use the wrong selector?

https://pideja.ca/galleries/01-duceppe/ … es-hommes/

Last edited by pideja (2019-12-15 03:13:00)

Offline

#2 2019-12-15 03:58:48

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: CSS showing error in Firefox inspector

UPDATE...

Found I had two .the__copy selectors. I deleted one and kept the one with the style settings I put in. Looks good now.

Offline

#3 2019-12-16 06:53:30

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: CSS showing error in Firefox inspector

Watch those syntax errors. CSS doesn't like them at all. One missing semi-colon, or one set of braces unclosed, can break your entire stylesheet.


Matt

The Turning Gate, http://theturninggate.net

Offline

#4 2019-12-18 04:26:21

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: CSS showing error in Firefox inspector

Thanks, Matthew...with so many revisions and modifications, it's sometimes difficult to keep track of all these mistakes.

Offline

Board footer

Powered by FluxBB