DJ Menu width, can it be the same for all elements

More
5 years 4 months ago #8180 by gathern
gathern created the topic: DJ Menu width, can it be the same for all elements
Hi,

Can it be possible to modify the code to make DJ Menu elements to have the same width ?? It looks unprofessional when menu elements has different sizes in my opinion.

Attaching screen how does it look now on example, I would like to have "unified" size if it is possible.



BR, Jacek
Attachments:

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

More
5 years 4 months ago #8187 by marcin
marcin replied the topic: DJ Menu width, can it be the same for all elements
Hello,

You can add the following styles to the custom.css file:
.dj-main {
display: table !important;
}

.dj-main li.dj-up {
display: table-cell !important;
float: none !important;
}

.dj-main li a.dj-up_a {
float: none !important;
}

.dj-main li a.dj-up_a > span {
float: none !important;
}

The file location is:
/templates/jm-services/css/custom.css

Regards,
Marcin

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

More
1 month 3 weeks ago #12563 by Kar3n
Kar3n replied the topic: DJ Menu width, can it be the same for all elements
Hi,

I'm having some difficulties making this work :pinch:
I want to add this code to the custom.less file or custom.css file, but neither are present in the templates location.


Should I insert it in another file then or what can I do?

Thanks in advance!
Attachments:

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

More
1 month 3 weeks ago #12564 by artur
artur replied the topic: DJ Menu width, can it be the same for all elements
Hello,
You should create a 'custom.less' file.

More details here:
www.joomla-monster.com/documentation/tem...sed-on-ef4-framework

Have a nice day.

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

More
1 month 3 weeks ago #12565 by Kar3n
Kar3n replied the topic: DJ Menu width, can it be the same for all elements
Thanks for your reply.

I'm sorry - I'm a newbie. I followed the steps from the link u provided:

I created a custom.less file, which was empty off course.
I added the styles you suggested above to it.
I made sure 'source map - less' was enabled.
I added the VARIABLES import code on the top of the document.

Automatically a 'custom9.css' file was made in the css-folder.

And of course that isn't enough, but I have no idea what else to include in the file?
I'm probably in way over my head... Any way you could point me in the right direction?
Attachments:

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

Time to create page: 0.347 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.