hexplor on master
Fixed fatal error in Menu parti… Fixed Menu Manager throwíng dep… Release 5.5.15 - Automatic Vers… (compare)
These are the standard classes
https://docs.gantry.org/gantry5/tutorials/utility-classes
You put them in the back end... not code... - extensions - templates - layout
Hello, im trying to stick the footer at the bottom, im using Helium theme in Joomla, so i added this code to custom.scss:
.bottom {
position: absolute;
width: 100%;
bottom: 0px;
}
then applied the class bottom to the footer section but then the footer goes over the content, if i comment bottom: 0px; i correctly see all the content but the footer isn't displayed properly all or just disappear in pages where there is much content.
@simone80an In fact, I do not think that the above will work now I have tested it on a live gantry site! I only tried it in some other html layout...
Not sure how gantry nests the body/page surround/section positions to be honest.
Personally, I would approach it using a UIKIT attribute but then I use a UIKIT 3 library on all of my Joomla Gantry sites.
@mahagr Hi Matias, is it possible to add a new breakpoint in the Gantry Layout > Styles > Breakpoint ?
Ideally I would like to add a further breakpoint for Mobile Landscape and rename the current Mobile designation to Mobile Portrait.
He adds:
the problem is that site is not showing joomla default components
like user component for login/logout etc.
@dmleeman thanks for your reply, i don't know if it's the best solution but seems i have solved using this js code
jQuery(function() {
scrollCalculation();
jQuery(window).resize(function() {
scrollCalculation();
});
});
function scrollCalculation(){
jQuery('#g-footer').removeClass('bottom');
if (!(jQuery(document).height() > jQuery(window).height()))
jQuery('#g-footer').addClass('bottom');
else
jQuery('#g-footer').removeClass('bottom');
}
and this CSS:
.bottom {
position: absolute;
width: 100%;
bottom: 0px;
}
rem
is deprecated and will be removed in 5.0.0.