Question concerning specific menu items

More
14 years 4 months ago #4159 by zaramis
Hello,

I have a menu where I want to modify the specific item to correspond to a different font size.

All menu items are font size 12, but I want menu item 160 to be of a different font size, while all the others remain at 12.

In normal Joomla menus, I just do:

#sidebar .item-160 a{
font-size: 10px;
}

But in MaxiMenu CK, the itemID numbers are not a class, but something else. It lists them in web developer as:

> li .maximenuck item160 first level1 >

How would I format my CSS for it to affect the font size of that specific item?

Regards,
Zaramis

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

More
14 years 4 months ago #4160 by ced1870
Hi
of course it is a class ! the whole class is "maximenuck item160 first level1"
so you can style with li.item160 (look in the theme file how to put the entire sentence, and search in the forum, this has alraedy been discussed ;) )
CEd

Joomlack Webmaster and Developer
The following user(s) said Thank You: zaramis

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

More
14 years 4 months ago #4161 by zaramis
I think we're too blessed with quick replies for us to win over our laziness.. The support here is so amazing that I receive an answer faster than I am able to use my search-fu to find the answer already posted..

Amazing job, Ced

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

More
14 years 4 months ago #4162 by ced1870
thank you ! ;)
you can also write a friendly review in the JED if you want to help the project :
extensions.joomla.org/extensions/structu...op-a-tab-menus/11578

Ced

Joomlack Webmaster and Developer

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

More
14 years 4 months ago #4165 by zaramis
Hmm. I just can't get it to work.

If it's all a single css class, then it should work just styling it as such, no?

I only use my custom css, I don't use any of the templates from the CK menu. I tried various different stylings, and now tried:

.maximenuck item160 first level1{
font-size: 150%;
color: black;
list-style: circle;
}

If it's a single css class, that should work, from what I've been able to find here and by your description?

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

More
14 years 4 months ago #4166 by ced1870
try with something like this :
#sidebar .item160 > a {
font-size: 10px;
}

Joomlack Webmaster and Developer

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

Time to create page: 0.227 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 5393 guests and no members online