1. ziggy
  2. Sherlock Holmes
  3. Commercial Templates
  4. Monday, 11 February 2013
  5.  Subscribe via email
Hello,

I have purchased Clarity template.. Everything is fine with me as I installed my RTL language, except that the drop-down menu is not coming in the middle of the main-menu.

Can you please tell me what to change in the CSS file?

Please check the attached illustration jpg image.

http://cnet-ye.com/image.jpg

Best Regards
Raffet Ali
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of this menu issue?

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

I'm sorry, I don't have a live URL for the site yet.
Recently, it's on my local machine.

All I want is to have the drop-down menu to be in the middle of its main-menu.

Regards
Raffet Ali
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
No worries.. presuming I understand you correctly to center your sub menu items within your dropdown you can try adding the following to the Custom CSS field of your templates parameteters..

[code type=css]#subMenusContainer a {text-align:center;}[/code]
Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciarán,

I'm sorry, but it's not the drop-down items to be in the center, what I mean is the drop-down square itself to be located in the middle of its main-menu item.

Regards
Raffet Ali
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Unfortunately in this case it is not possible to center the dropdown to the parent menu items. You can tweak the positioning in pxels relavent to its current position by editing the following in your templates dropdown.js (../templates/j51_clarity/js/dropdown.js) however this will apply the same offset to all dropdowns (minus figures can be used).

tweakInitial:{ x:0, y:0	},//if you need to tweak the placement of the initial submenus

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

Regards
Raffet Ali
  1. more than a month ago
  2. Commercial Templates
  3. # 6
  • 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