Mainmenu "first child" CSS?

More
5 years 8 months ago #59933 by rgallina1966@gmail.com
Hi, I'm so sorry for my inexperience !!!
So... this is the site I'm working on: servizi.istitutoolivetti.it/joomla30/
The upper mainmenu module is the megamenu, the lower is Maximenu CK module.
I would like to customize the position of Maximenu like that of megamenu. I tried with Custom CSS Styles... but I didn't manage to it.
Can someone help me? Thx in advance !!!
Roberto

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

More
5 years 8 months ago #59934 by ced1870
Replied by ced1870 on topic Mainmenu "first child" CSS?
Hi
Please give me more details about what you need to customize
CEd

Joomlack Webmaster and Developer

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

More
5 years 8 months ago #59942 by rgallina1966@gmail.com
Oh thx :)
So I would like Maximenu appears with the same margins of megamenu (that is the menu inside the template). The image below can help you?

The Firefox Page Analyzer tell me:
.Megamenu-item:first-child > :first-child {
padding-left: 0 !important;
but I suspect this is a template customization... isn't it?
Roberto

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

More
5 years 8 months ago #59949 by ced1870
Replied by ced1870 on topic Mainmenu "first child" CSS?
yes, this is something to manage into your template, you can do that by adding this css code
Code:
div#maximenuck107 { margin-left: 10.4rem; }

Joomlack Webmaster and Developer
The following user(s) said Thank You: rgallina1966@gmail.com

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

More
5 years 8 months ago #59965 by rgallina1966@gmail.com
Thankyou CED. Helped by my son, we've resolved with this code:

div#maximenuck107 ul.maximenuck {
max-width: 144rem;
border-top: 0;
}

.maxiroundedcenter {
background-color: #0D57A0;
border-top: 4px solid #bfa69a;
}
that seems working fine.
Rob

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

Time to create page: 0.192 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 4733 guests and no members online