Hi, just bought the Hayley template, it is real nice.
Only thing I don't like is the overlay effect on the menu's, which dimms the page with some kind of overlay.
How can I remove that overlay effect?
Thanks in advance, Burt
.hornav > ul > li::after {
display: none;
}
Hello
BY default this option is not available. May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and I will make this amendment for you. For our reference please paste a link to this post in your email.
Ciaran
if($this->params->get('sticky_sw')) {
// Sticky Div
$document->addScript('templates/'.$this->template.'/js/jquery.sticky.min.js', 'text/javascript', false, true);
$document->addScriptDeclaration('
jQuery(window).load(function(){
jQuery(".header_main").sticky({
topSpacing: 0
});
});
');
}
if($this->params->get('sticky_sw')) {
// Sticky Div
$document->addScript('templates/'.$this->template.'/js/jquery.sticky.min.js', 'text/javascript', false, true);
$document->addScriptDeclaration('
jQuery(window).load(function(){
jQuery(".header_hornav").sticky({
topSpacing: 0
});
});
');
$document->addStyleDeclaration('
.header_hornav {
width: 100%;
}');
}
Hello
In your templates scripts.php (../templates/j51_hayley/inc/scripts.php) replace the following...
LINE 77 - 87
if($this->params->get('sticky_sw')) {
// Sticky Div
$document->addScript('templates/'.$this->template.'/js/jquery.sticky.min.js', 'text/javascript', false, true);
$document->addScriptDeclaration('
jQuery(window).load(function(){
jQuery(".header_main").sticky({
topSpacing: 0
});
});
');
}
With..
if($this->params->get('sticky_sw')) {
// Sticky Div
$document->addScript('templates/'.$this->template.'/js/jquery.sticky.min.js', 'text/javascript', false, true);
$document->addScriptDeclaration('
jQuery(window).load(function(){
jQuery(".header_hornav").sticky({
topSpacing: 0
});
});
');
$document->addStyleDeclaration('
.header_hornav {
width: 100%;
}');
}
Ciaran