Do you want the dropdown pane centered below the category name it belongs to?
Printable View
Do you want the dropdown pane centered below the category name it belongs to?
The styling for this mod is embedded in the PHP file, so find the file involved and add
left: -40%;
to this:Adjust to taste when you have more variety of boxes to test it on.Code:#navCatTabsDropdown * li ul
{
visibility:hidden;
position:absolute;
left: -40%;
padding: 0.5em;
z-index: 100;
}
thanks gjh42
tried that but doesn't seem to make any difference
Derek
It worked when I tested it on your site. Exactly how did you try it?
I modified the file:
tpl_modules_categories_tabs.php
in the folder
zen/includes/templates/classic/custom/templates/
cheers
Derek
/includes/templates/classic/custom/templates/
This is not a folder path that should exist. It should be either
/includes/templates/classic/templates/
or
/includes/templates/custom/templates/
depending on which template you are using.
Hi Glenn
I am using the classic template for this trial site.
I have changed to zen/includes/templates/classic/templates/
for file:
tpl_modules_categories_tabs.php
and deleted the custom folder
with still no effect
thanks for your help
Derek
You now have the box with prod1 and prod2 centered under cat1. If this is not what you want, you will have to explain your desires better.
Hi Glenn
Sorry - I am looking for cat1 cat2 cat3 categories to be centred on the page with their drop down menus- as is normal for the classic template
thanks
Derek
Add a width attribute to the style for #navCatTabsDropdown li:
PHP Code:
#navCatTabsDropdown li
{
float:left;
position:relative;
width: 33%;
}