Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10044994
    vlachoman
    Participant

    How can I insert a progress bar that is 100% of the width of the page? Can the progress of that bar be related to its loading?

    Example


    #10044995
    Support
    Keymaster

    Hello, sorry but we don’t have an example of that on Porto Admin, but you can start adding the following HTML

    <div class="progress progress-reading p-fixed top-0 w-100 left-0" style="height: 8px; z-index: 9999;">
    	<div class="progress-bar border-radius-0 bg-color-primary" id="progressbar" style="width: 50%"></div>
    </div>

    So with JS you set the percentual you want to show, for example:

    $('#progressbar').css('width', '90%');

    We will consider such feature in next versions.


Viewing 2 posts - 1 through 2 (of 2 total)