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

186
Views
How can I change the font size of a Swal2 Toast element title

I have been working on a project for some time, and researched one specific problem I have been unable to fix: changing the font size of a Swal2 Toast title. Everything functional works, but all the CSS solutions I have found do not work. The title of the modal is tiny and hard to read.

let message = getCookie("greeting");
        const Toast = Swal.mixin({
            timer: 3000,
            toast: true,
            position: "top-end",
            showConfirmButton: false,
            showClass: {
                popup: "animate__animated animate__fadeInRight",
            },
            hideClass: {
                popup: "animate__animated animate__fadeOutRight",
            },
            allowOutsideClick: false,
            allowEscapeKey: false,
        })
        Toast.fire({
            title: message,
        })

image of modal

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!