Bagisto Forum

    Bagisto

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

    How to override the admin layout?

    Knowledge Base
    2
    5
    2026
    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.
    • L
      lwilliams-heli last edited by

      Hi,

      I've added a new item to the left nav via a package and would like to have a custom icon display with it, i've created the icon and added a stylesheet for it.

      However I can't seem to find a way to add these styles to every page or extend the admin.layouts.master file.

      If you could point me in the right direction that would be great.

      Thanks

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

        Hi,

        Please follow this link for creating custom theme -https://bagisto.com/en/create-custom-theme-in-bagisto/.
        If you found any difficulty to implement this, please write to us.

        Thanks
        Rahul Shukla

        1 Reply Last reply Reply Quote 0
        • L
          lwilliams-heli last edited by

          As far as I was aware, that theme only only applies to the front-end and not the back end. Please correct me if I am wrong?

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

            Hi Iwilliams-heli,

            Of course, you are right, I slightly misjudge the question,![alt text](view-ovveride.png image url) sorry for that.

            To override admin layout, you can create your own view in laravel's default view folder.
            Check laravel's default view folder (resources -> views), you will find a folder name as vendor, In this vendor folder create your own view but make sure that it consist the same directory structure as package have.
            For admin, create a folder name admin in this folder create a same directory of view as admin package consist.
            Example - like I have to override master file , then in admin folder i will create layouts folder & inside this folder, create file name master.blade.php & write own code here.
            For more reference please this attached image.

            Thanks
            Rahul Shukla

            1 Reply Last reply Reply Quote 0
            • L
              lwilliams-heli last edited by

              Thanks Rahul.

              This has now allowed me to override as needed.

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