1. selwyncomputers
  2. Commercial Templates
  3. Wednesday, 03 September 2014
  4.  Subscribe via email
I am wondering how I go about changing the height of the opaque part at the top of the page where the logo sits in. I need to make this bigger as the logo image that I have is higher than the current space provided
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Could you try adding the following to the Custom CSS field of your templates parameters where 160px is the new height of your header area...


#container_header, .header_bar {
height: 160px;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you - this worked well, however I now note that one other feature is out of kilter.

Tha menu that lives below this header bar... it usually stops at the bottom of the header bar when the header bar reaches the top of the page.

Since I have changed the size (to 230px) it now stops about half way up the header bar.

Are you able to offer the correction for this?
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Try editing the following in your templates scripts.php (../templates/j51_lifestyle/php/scripts.php)..


<!-- Sticky Div -->
<script type="text/javascript" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery.sticky.js" charset="utf-8"></script>
<script type="text/javascript" >
jQuery(window).load(function(){
jQuery("#container_hornav").sticky({ topSpacing: 122 });
});
jQuery(window).load(function(){
jQuery("#container_header").sticky({ topSpacing: 0 });
});
</script>


You will have to edit the 122 to I think 232!

Hope this helps!

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you! This is perfect.

I would now like to change things round just a little (since the header bar is now so large) so that the header bar continues to scroll but the menu bar stops at the top of the page... is this doable?

Thank you
Stephan
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Stephen

Try changing the above scripts.php code to the following...



<!-- Sticky Div -->
<script type="text/javascript" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery.sticky.js" charset="utf-8"></script>
<script type="text/javascript" >
jQuery(window).load(function(){
jQuery("#container_hornav").sticky({ topSpacing: 0 });
});
</script>


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • 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