Changing Width of Sub Menu/Drop Down with ID's

Replied by goldcodirect on topic Changing Width of Sub Menu/Drop Down with ID's

Posted 11 years 6 months ago #6121
Ok, i've unpublished the items, and added them back one by one.

Still have having some issues.

The main issue now being that the left margin of the sub menus, align to the first letter of its parent item. Which is how it is designed to work I understand, but when you have a module inside the sub menu that has a defined width, it stretches beyond the main design margins, and if the users window is small, it causes the browser window to produce a horizontal scroll bar so the user can see all of the sub menu.

You can see an example of what I mean on this page, under the contact menu:
goldcodirect.com/goldco-direct/gold-and-...r-investors-kit.html

If you shrink the size of your browser window, so it is only the size of the main layout of the site, and hover over the contact menu, you will see the sub menu stretch outside of the browser window, and cause the horizontal scroll bar to show.

In the interest of just getting this done, and not having to keep bothering you about it, could you just show me how to write the CSS to define the width/height of a sub menu item, as well as changing the horizontal alignment of the sub menu item.

I hope this wont be a problem since I did pay for the Parameters Plugin, and I am probably am not going to even end up using it.

So here is the sub menu layout now:
i.imgur.com/kZ6qk.jpg

And here is what I would like the sub menu layout to be:
i.imgur.com/Nc9H0.jpg

Thanks for the help!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Changing Width of Sub Menu/Drop Down with ID's

Posted 11 years 6 months ago #6122
Hi
you can set the margin in the css like this
Code:
div#goldco-main-menu ul.maximenuCK li.maximenuCK.item333 div.floatCK {margin-left:-200px;}

Ced

Joomlack Webmaster and Developer

Last Edit:11 years 6 months ago by ced1870
Last edit: 11 years 6 months ago by ced1870.
The following user(s) said Thank You: goldcodirect

Please Log in or Create an account to join the conversation.

Replied by goldcodirect on topic Changing Width of Sub Menu/Drop Down with ID's

Posted 11 years 6 months ago #6144
Awesome! We are almost there. I do have it live now though.

Just have 1 more weird thing going on with the sub menu now.

So on the homepage, the sub menu aligns its right margin, with the right hand separator of it's parent menu item, regardless of the negative margin applied.

As you can see here:
goldcodirect.com

However on all the sub pages, the sub menu correctly obeys the negative margin rules, and is aligned with the right margin of the main site border.

As you can see here:
goldcodirect.com/precious-metals/why-gold.html

Any idea why that would be?

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Changing Width of Sub Menu/Drop Down with ID's

Posted 11 years 6 months ago #6152
turn the overflow detection option OFF in the effect tab
then in the other pages you have this error :
Horodatage : 17/10/2012 20:45:50
Erreur : TypeError: document.getElementById("debt-clock-per-person") is null
Fichier Source : goldcodirect.com/
Ligne : 1088

that's why the script does not execut

Ced

Joomlack Webmaster and Developer

by ced1870
The following user(s) said Thank You: goldcodirect

Please Log in or Create an account to join the conversation.

Replied by goldcodirect on topic Changing Width of Sub Menu/Drop Down with ID's

Posted 11 years 6 months ago #6161
Ah ha! That was it. Everything is working perfectly now.

Thank you so much for your help. Your support is some of the best I have ever experienced. Great job!

Thanks again.

Please Log in or Create an account to join the conversation.

Time to create page: 0.723 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1202 guests and one member online