Display footer in PrimeFaces template, when fullPage of p:layout is set to false

后端 未结 4 1650
夕颜
夕颜 2020-12-18 13:29

Footer is not displayed (actually, it is incorrectly displayed on top of the page), when fullPage is set to false in PrimeFaces template.



        
4条回答
  •  一整个雨季
    2020-12-18 13:54

    This may or may not be a bug in PrimeFaces - you're best off asking there. The layout is actually on your page if you check the source, however its positioning is above the header, likely because it has no idea where it's to be. In a full page it knows its location generated by the page, but otherwise it could be anywhere you want it to be. Try using CSS to move it etc, refer to. and use styleClass etc to attach classes, my hack was just to use !important which you shouldn't really do.

    .ui-layout-pane-south {
        top: 200px !important;
    }
    

    etc..

    Although I am more inclined to think this is a bug as none of the CSS is applied properly to it.

    I've created an issue report on PF and hopefully someone can give some more information on the problem.

提交回复
热议问题