1. erikoraka
  2. Sherlock Holmes
  3. Commercial Templates
  4. Wednesday, 22 October 2014
  5.  Subscribe via email
Good morning,

Can you please tell me how to reduce the height of the menu bar as well as the height of the website title bar?

Also, is there a way to make the menu bar disappear on page activation and appear only on mouse over on certain pages?

Thank you in advance.

Kind regards,

Eri
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Eri

To reduce the height of your menu bar try adding the following to the Custom CSS field of your templates parameters...


#hornav > ul > li > a {
padding-bottom: 10px;
padding-top: 10px;
}
#hornav .menu li [class^="fa-"]:before, #hornav .menu li [class*=" fa-"]:before {
top: 12px;
}


For the logo area you can also add the following (edit to taste)..

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


Note you will also have to edit the stop position of your menu on scroll by editing the following in your templates scripts.php...

jQuery("#container_hornav").sticky({ topSpacing: 122 });


Sorry to say I do not understand your last query?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Dear Ciarán,

I added the following to the Custom CSS of one of my templates:

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

#hornav > ul > li > a {
padding-bottom: 8px;
padding-top: 8px;
}
#hornav .menu li [class^="fa-"]:before, #hornav .menu li [class*=" fa-"]:before {
top: 10px;
}

jQuery("#container_hornav";).sticky({ topSpacing: 122});

BUT something is wrong when I scroll down the page (http://www.megarevma.gr/new/index.php?option=com_content&;view=article&id=39&Itemid=104). When I change the jQuery topSpacing nothing happens..

ALSO the position of the text in the logo area needs to be adjusted also? How can I do this?

Could you please advise?

Thank you in advance,

Eri
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Eri

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

I have corrected your scripts.php. Your top menu should be now sticking in the correct position.

To edit the position of your logo add the following to the Custom CSS field of your templates parameters...


#logo {
top: -22px;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Ciarán! It works fine now!
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
...And something else I noticed.

The second level menu, now that we reduced the menu height, seems to be a little lower than its parent, that means it leaves a small space between the two. How can I make the small space disappear?

Thanks again!
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Try also adding the following..


#hornav li:hover > ul,
#hornav li ul li:hover > ul {
top: 40px;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,

I also think I have to adjust the height of the third level menu also..
Can you please tell me how to do this?

Thank you in advance.

Best regards,

Eri
  1. more than a month ago
  2. Commercial Templates
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Eri

Try also adding the following to your Custom CSS field...


#hornav li ul li:hover > ul {
top: 0px;
}


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