No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    overwrite quasar component/elements with our own css

    Framework
    3
    9
    2821
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rajrana last edited by

      Hi all ,
      I am using quasar v2 beta with vue3 and typescript . i am writing components with composition api

      my question is how i can overwrite css classes of any quasar element or component
      

      Thanks

      S 1 Reply Last reply Reply Quote 0
      • S
        suleiman_as @rajrana last edited by

        @rajrana First check the component’s Api/Props/Style. for other use cases Inspect the html and overwrite by class

        1 Reply Last reply Reply Quote 0
        • R
          rajrana last edited by

          i have tried overwriting class but it does not works @suleiman_as

          S 2 Replies Last reply Reply Quote 0
          • S
            suleiman_as @rajrana last edited by

            @rajrana It’s just css&classes you can overwrite it. try it without scoped or in main style file

            R 1 Reply Last reply Reply Quote 0
            • S
              suleiman_as @rajrana last edited by

              @rajrana sometimes you need !important

              1 Reply Last reply Reply Quote 0
              • R
                rajrana @suleiman_as last edited by

                @suleiman_as what if i want to modify a quasar component for some vue components

                in that case global will not help as the style is changed all over the application

                S 1 Reply Last reply Reply Quote 0
                • S
                  suleiman_as @rajrana last edited by

                  @rajrana use (!important)

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    rajrana @suleiman_as last edited by

                    @suleiman_as i am trying to say i want to customize the quasar element for only specific components

                    dobbel 1 Reply Last reply Reply Quote 0
                    • dobbel
                      dobbel @rajrana last edited by

                      @rajrana

                      customize the quasar element for only specific components

                      https://vue-loader.vuejs.org/guide/scoped-css.html

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post