1. echojs
  2. Commercial Templates
  3. Thursday, 29 May 2014
  4.  Subscribe via email
Can the hover image height on the hornav menu be adjusted?

lynetteannephotography.com
Joomla 3.3
Google Chrome
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Not sure if I understand what you mean by hover image height? You want to adjust the height of the hover effect but leave the default height the same?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
I put in the following Custom CSS to change the height and placement of the menu, but the placement of the font was not centered vertically like I wanted, and I noticed that 'hornav ul a' affected that. But when I change the line height of hornav ul a, the hover effect gets longer or shorter vertically depending on the number I plug in. Is there a better way to do this? I want the height of the hover effect to equal the height of the menu bar or block, whatever it is called. Maybe there is a better code for menu font placement?

.hornavmenu
{ border-bottom: none;
box-shadow: 0px 8px 15px 0px #000000;
height: 38px; top: 120px; border-radius: 5px 5px 0px 0px;
}

#hornav ul a
{ line-height: 20px;
}
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
I also have this code in the Custom CSS and wonder if I need to redo it. I know the 2nd pixel number is for horizontal spacing but don't know how the first pixel number would affect ul a 'line-height'. Am I doing something wrong?

#hornav ul a, #hornav .separator {
padding: 10px 10px;
}
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Echojs

To better center your menu items vertically try adding the following to the Custom CSS field of your templates parameters...


#hornav ul a, #hornav .separator {
padding: 8px 12px 10px;
}


This will reduce the top padding to 8px, horizontal padding on boths sides to 12px and your bottom padding will remain at 10px.

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