Question

Photo of Richard Sanford

0

Open page in expanded view

Is there a way to get a page to open up in an expanded view , like so, instead of collapsed...

ExpandedPage.png

  • Photo of Steve Lipinski

    0

    A quick and easy (yet crude) way is to add some CSS to the block.  This can be done by editing the Workflow Navigation block Properties.

    In the advanced settings tab, you can add the following to the Pre-HTML:

    <style>
    .panel-workflowitem .panel-collapse.collapse {
        display: block;
        height: auto !important;
    }
    </style>


    The above CSS tells the collapse-able panels to never be collapsed.


    Do note, there is some odd side-effect of if you click on the headings, they try to collapse/expand, but then "snap back" to being open.  If this is a concern, it would take a little more trickery to remove that behavior, and I'm not entirely sure that can be done without some Javascript as well as CSS.

    Also, note, the above is specific to this Workflow Navigation block.  It will not work in other areas as-is...


  • Photo of Richard Sanford

    0

    Cool Steve...works perfect...many thanks...