[SOLVED] Removing hierarchy from horizontal dropdown menu??
[SOLVED] Removing hierarchy from horizontal dropdown menu??
I am pretty new to CMS and webpage development, but I must say that reading through the CMS site and these forums have really helped me make some progress. I got a pretty basic site running now and am using "top menu + 2 column" layout. I have everything looking good, but I cant seem to get rid of the hierarchy number in front of the text in each tab. I have gone through all the templates (template, stylesheet, menu manager, theme manager) and the olny one that has anything about hierarchys is the menu manager. I deleted everyting that has hierarchy in it but the numbers are still there. Can anyone through me some tips on getting rid of there numbers?
Last edited by AnthonyCurio on Mon Mar 24, 2008 10:30 pm, edited 1 time in total.
Re: Removing hierarchy from horizontal dropdown menu??
You need to attach the "Accessibility and cross-browser tools" stylesheet to your template.
Nullig
Nullig
Re: Removing hierarchy from horizontal dropdown menu??
well thx alot for the help. I know i have read that 100 time in some other forums, but I didnt realize that applies to me. I did acidentally delete that stylesheet sometime ago.
Do you think you can post the template for that stylesheet, I cant seem to find one.. thx for the help!
Do you think you can post the template for that stylesheet, I cant seem to find one.. thx for the help!
Re: Removing hierarchy from horizontal dropdown menu??
Here it is:
Nullig
Code: Select all
/* accessibility */
/*
menu links accesskeys
*/
span.accesskey {
text-decoration:none;
}
/*
accessibility divs are hidden by default
text, screenreaders and such will show these
*/
.accessibility, hr {
position: absolute;
top: -999em;
left: -999em;
}
/*
definition tags are also hidden
these are also used for menu links
*/
dfn {
position: absolute;
left: -1000px;
top: -1000px;
width: 0;
height: 0;
overflow: hidden;
display: inline;
}
/* end accessibility */
/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
position: absolute;
left: -5000px;
width: 4000px;
}
/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
color: #18507C;
/* background image for the link to show wiki style arrow */
background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
color: #18507C; /* a different color can be used for visited external links */
/*
Set the last 0 to -100px to use that part of the external.gif image for different color for active links
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:hover {
color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
background: url(images/cms/external.gif) no-repeat 100% 0;
background-color: #C3D4DF;
}
/* end wiki style external links */
/* clearing */
/*
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
* html>body .clearfix {
display: inline-block;
width: 100%;
}
* html .clearfix {
/* Hides from IE-mac \*/
height: 1%;
/* End hide from IE-mac */
}
/* end clearing */
Re: Removing hierarchy from horizontal dropdown menu??
wow thx alot!That did the trick, I had that problem for a week.
Now for the last 2 days I havent been able to get a .htaccess file to work correctly. I have gone to htaccess generaters and have both the htaccess file and the htpasswd file. I add the htaccess file in the root dir, but Im not sure how to make the password work. I think it might be because im not placing the password file in the correct spot.
I really appirciate all the help.
Anthony
Now for the last 2 days I havent been able to get a .htaccess file to work correctly. I have gone to htaccess generaters and have both the htaccess file and the htpasswd file. I add the htaccess file in the root dir, but Im not sure how to make the password work. I think it might be because im not placing the password file in the correct spot.
I really appirciate all the help.
Anthony
Re: Removing hierarchy from horizontal dropdown menu??
Best to mark this thread [solved], and start a new one about the .htaccess problems.
Nullig
Nullig
Re: Removing hierarchy from horizontal dropdown menu??
As I saw this post and not yet the other one for the .htaccess.....
Add the following logic to you .htaccess, pointing fully to your passwd file, which can be stored anywhere, but preferabbly not in the public area....
Add the following logic to you .htaccess, pointing fully to your passwd file, which can be stored anywhere, but preferabbly not in the public area....
RonnyAuthUserFile /storage/domain/sites/private/.htpasswd
AuthType Basic
AuthName "Access to the site"
Require valid-user