question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`display: none` yields unrecognized rule: display

See original GitHub issue

Hi All,

Thanks for this awesome application. I’m working with a team that wants to hide the footer on a Carto iframe. When I add:

.cartodb-text {
  display: none;
}

to the map’s CartoCSS field, however, I get unrecognized rule: display. A similar error springs if I try using other common css properties (float, position, etc). Do you know how I can l use these CSS rules in the CartoCSS input box? Any help you can offer would be greatly appreciated!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
duhaimecommented, Oct 31, 2017

Amen, thanks very much @ramiroaznar!

0reactions
ramiroaznarcommented, Oct 31, 2017

Yes, it is only possible to use CartoCSS for styling map layers. You can use CSS to style your whole application when using CARTO.js, as I did with this layer selector in this block.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flex: Unrecognized rule error - Stack Overflow
I have tried to make some changes in my code, but nothing seems to make it work(sometimes these changes made it even worse...
Read more >
supports - CSS: Cascading Style Sheets - MDN Web Docs
The @supports at-rule consists of a block of statements with a supports ... @supports (display: grid) and (not (display: inline-grid)) { }
Read more >
Mass Spectrometry - MSU chemistry
The separated ions are then measured, and the results displayed on a chart. The Detector. Because ions are very reactive and short-lived, their...
Read more >
How do I determine the concentration, yield and purity of a ...
The concentration of unknown samples is calculated based on comparison to a standard curve generated from samples of known DNA concentration. Genomic, fragment ......
Read more >
International Travel to and from the United States - covid-19
Countries may have their own entry and exit requirements. Non-U.S. citizen, non-U.S. immigrants: You must show proof of being fully vaccinated with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found