Kunena Menu
Mobile Module
- gregdevice
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 years 10 months ago #24597
by gregdevice
Mobile Module was created by gregdevice
Hi, creating my own theme for the mobile module MaximenuCK. Is there a way to style the submenu items, dividers and parent items? There doesn't seem to be any built in way to handle this. The dividers, for example, create an odd submenu item in the accordian view. Would be better if they could be styled differently.
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
11 years 10 months ago #24598
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Mobile Module
Hi
you can style what you want using the css classes. If you have some difficulties you must be more specific to what you want to do and give me your url
CEd
you can style what you want using the css classes. If you have some difficulties you must be more specific to what you want to do and give me your url
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- gregdevice
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 years 10 months ago #24624
by gregdevice
Replied by gregdevice on topic Mobile Module
Re:
tinyurl.com/nlkrlh5
Desktop is fine, Reduce to 640 pixel width for mobile version
Make sure to refresh, the module does not always load for some reason.
Thanks, I'm trying to stylize these mobile menu elements. Perhaps it's just some advanced css skills I'm lacking, but the these id/classes seem either too specific or too general:
mobilemaximenuckitem
maximenuck item514 first level1
maximenuck headingck item605 level2
etc.
I want to be able to customize the parent divs (font and background colors) compared to the submenus so they stand out from each other. Also the dividers. It doesn't make sense to have the arrows pointing to them and the line is already between two lines? I'm sure you can see what I mean. Thanks!
Desktop is fine, Reduce to 640 pixel width for mobile version
Make sure to refresh, the module does not always load for some reason.
Thanks, I'm trying to stylize these mobile menu elements. Perhaps it's just some advanced css skills I'm lacking, but the these id/classes seem either too specific or too general:
mobilemaximenuckitem
maximenuck item514 first level1
maximenuck headingck item605 level2
etc.
I want to be able to customize the parent divs (font and background colors) compared to the submenus so they stand out from each other. Also the dividers. It doesn't make sense to have the arrows pointing to them and the line is already between two lines? I'm sure you can see what I mean. Thanks!
Please Log in or Create an account to join the conversation.
11 years 10 months ago #24629
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Mobile Module
I have refreshed many times and the mobile menu is always there
for the styles, you can use the level class, for example
li.level1
will target all first level elements
if you want to target only elements that have children, you can use
li.level1.parent
and so on, you can do what you want
for the styles, you can use the level class, for example
li.level1
will target all first level elements
if you want to target only elements that have children, you can use
li.level1.parent
and so on, you can do what you want
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- gregdevice
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 years 10 months ago #24637
by gregdevice
Replied by gregdevice on topic Mobile Module
Hi and many thanks for your help. It doesn't work as easily for me.
Here is the menu and associated div class:
> UNIFORMS = maximenuck item510 current active parent level1 open
>> VALUE SHIRTS = maximenuck item547 first level2
>> Polo Shirts = maximenuck item556 level2
>> T-Shirts = maximenuck item557 level2
...
>> CUSTOM SHIRTS = maximenuck item564 level2
...
>>
= maximenuck headingck item828 level2
>> APRONS = maximenuck item516 level2
> HEADWEAR maximenuck item513 parent level1
The level1 items are easy now, it's the level2 items. Notice there is a first class only on VALUE SHIRTS, but not on CUSTOM SHIRTS or APRONS. So there doesn't see a way to isolate them without using the item#. The divider lines I figured out.
Compare with the Desktop version to see how the Mega Menu is organized. It would need a unique tag after a column break or divider line. Hopefully his makes sense.
Here is the menu and associated div class:
> UNIFORMS = maximenuck item510 current active parent level1 open
>> VALUE SHIRTS = maximenuck item547 first level2
>> Polo Shirts = maximenuck item556 level2
>> T-Shirts = maximenuck item557 level2
...
>> CUSTOM SHIRTS = maximenuck item564 level2
...
>>
= maximenuck headingck item828 level2
>> APRONS = maximenuck item516 level2
> HEADWEAR maximenuck item513 parent level1
The level1 items are easy now, it's the level2 items. Notice there is a first class only on VALUE SHIRTS, but not on CUSTOM SHIRTS or APRONS. So there doesn't see a way to isolate them without using the item#. The divider lines I figured out.
Compare with the Desktop version to see how the Mega Menu is organized. It would need a unique tag after a column break or divider line. Hopefully his makes sense.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #24640
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Mobile Module
you don't really need the first class as you can use li.level2:first-child that works 
it is only css rules to apply. Let me know if you still have a problem
it is only css rules to apply. Let me know if you still have a problem
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.221 seconds




