Question concerning specific menu items

Question concerning specific menu items was created by zaramis

Posted 11 years 10 months ago #4159
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
by zaramis

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

Replied by ced1870 on topic Re: Question concerning specific menu items

Posted 11 years 10 months ago #4160
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

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

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

Replied by zaramis on topic Re: Question concerning specific menu items

Posted 11 years 10 months ago #4161
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
by zaramis

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

Replied by ced1870 on topic Re: Question concerning specific menu items

Posted 11 years 10 months ago #4162
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

by ced1870

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

Replied by zaramis on topic Re: Question concerning specific menu items

Posted 11 years 10 months ago #4165
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?
by zaramis

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

Replied by ced1870 on topic Re: Question concerning specific menu items

Posted 11 years 10 months ago #4166
try with something like this :
#sidebar .item160 > a {
font-size: 10px;
}

Joomlack Webmaster and Developer

by ced1870

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 515 guests and no members online