with the edulif template and the possibility of displaying an article across the entire width of the page in a fluid way (main body) and not in its container, can I get quick help with a custom css class to set a page class in a menus edit item? Thank you
Solved
Templates
template Edulif and page display
Accepted answer
Marked as the solution
Paul Frankowski Senior Staff
2 years ago
· edited
This will make Article content wider
.article-details {max-width: 100%;}
But to make article totally full width you need add ALSO that line
.com-content #sp-main-body > .container {max-width: 100%; padding:0px; }
Add my CSS lines inside Template Options > Custom Code > Custom CSS (it will work!)
Then if you used SPPB inside Article In Row Options you can set Fluid Width. In each of them.
2 more replies
Paul Frankowski Senior Staff
Hi.
Custom CSS should help:
.view-article .article-details {max-width: 100%;}
I hope we talk with Article without SPPB inside, just classic one.
Raffaele Viola Asked this
unfortunately it doesn't work with edulif.
Raffaele Viola Asked this
Perfect! it was the second part that I would never have managed alone! You are great, thank you!
Log in to reply.