Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

156
Views
Embedded gist script and styling

I am embedding gist's from github into my Ghost blog like so:

<script src="https://gist.github.com/matthiasguentert/27766a9d21ba6f88944a0c059d701a61.js" >
</script>

However, this gets badly styled by my Ghost theme.

enter image description here

The developer console reveals that my Ghost theme added extra styling to it.

enter image description here

So how can I remove e.g. <div class="lines"> ...? I've tried adding a short javascript, which however didn't work (very hacky, I know).

Funny enough, it works when executed on chrome console.

<script>
  const e = document.getElementsByClassName("lines");
  while(e.length > 0){e[0].parentNode.removeChild(e[0]);}
</script>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!