1. BurtNL
  2. Commercial Templates
  3. Tuesday, 16 October 2018
  4.  Subscribe via email
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
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Burt

To amend you can add the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....

.hornav > ul > li::after {
display: none;
}


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Ciaran, for your swift and acurate answer, problem solved, great!
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
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
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
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



Thanks for posting this solution here Ciaran. I have tested the code and it works. Cool!
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Template Hayley
How can I make the Main Menu sticky
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
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
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
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


Ciaran, could you please post the solution here also, I would like to know that too.
And it automatically creates some more documentation on these type of questions.
Thanks in advance, Burt
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok