fixed header and footer

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
smpsrllc
User
Posts: 72

fixed header and footer

Post by smpsrllc »

I want fixed the header an footer in menu vertical (v2018), I use this:

HTML -> Style -> User

.main-header {
position: fixed;
width: 100%;
}

.main-footer {
position: fixed;
width: 100%;
bottom:0;
}

.main-footer {
background: #fff;
padding: 5px;
color: #444;
border-top: 1px solid #D2D6DE;
}

.content-wrapper {
margin-top: 50px;
background-attachment:fixed;
background-color: inherit;
background-image: url('/path/imagen.jpg');
//background-repeat: no-repeat;
//position: relative;
background-size: 100% 100%;
}


Horizontal Menu

.ewHorizontal {
position: fixed;
width: 100%;
}

.main-footer {
position: fixed;
width: 100%;
bottom:0;
}

.main-footer {
background: #fff;
padding: 5px;
color: #444;
border-top: 1px solid #D2D6DE;
}

.content-wrapper {
margin-top: 50px;
background-attachment:fixed;
background-color: inherit;
background-image: url('/path/imagen.jpg');
//background-repeat: no-repeat;
//position: relative;
background-size: 100% 100%;
}

.main-header.ewHorizontal .navbar .dropdown-header {
font-size: 14px;
color: #ff3546; }

.logo-lg > img {
position:relative;
margin: -5px 20px 0 -40px;
height: 50px;
}

**** Logo Left-Up

Client Scripts -> Global -> Pages with Header/footer -> Startup Script

$(".container-fluid").before('<a href="index.html" class="logo">' +
'<span class="logo-mini"><b>A</b>LT</span>'+
'<span class="logo-lg"><img src="phpimages/imagen.jpg" alt="logo"/><b>COMPANY ABC</b></span>'+
'</a>');

Any suggestions

Thank you


Webmaster
User
Posts: 9427

Post by Webmaster »

div.container-fluid only exists in Horizontal menu and the logos should not be placed before it, refer to the AdminLTE live preview and check the HTML markup.


smpsrllc
User
Posts: 72

Post by smpsrllc »

.main-header.ewHorizontal {
position: fixed;
width: 100%;
}

.main-footer {
position: fixed;
width: 100%;
bottom:0;
}


Post Reply