custom.less

More
2 years 5 months ago #9697 by Gilberti
Gilberti created the topic: custom.less
I need to make several changes to the templates, in particular as regards the colors.
Let's see if I understand how to do: through the google tools or firefox individual class of what I want to change, and the .css file that contains it.
I edit the file and you're done. But on the occasion of any updates, losing the changes made, I must therefore create a custom.less files and return the class to change.
The thing I do not understand is that we must not change the css files but the "less" files, but ok in less folder there is the corresponding css file.
In this case what I want to change is the background of the buttons with the class "class =" jm-color-box3 "how do I find the file containing this class to make the changes? I've seen is that it is only present in the folder css and templastes.26.css file., simply copy and paste into the class custom.less file and make the changes to change the background color?

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

More
2 years 5 months ago #9698 by Gilberti
Gilberti replied the topic: custom.less
I understand how it works and I'm excited. thanks

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

More
2 years 5 months ago #9700 by artur
artur replied the topic: custom.less
Hello,
To sum up :
Basically the best way to change colors in template is to override css styles.

How it works ?

Let's say in original template we have style :
.someclass .class p {
background: red;
color: white;
}

If we want to change colors we can add in 'less/custom.less' :
.someclass .class p {
background: green;
color: black;
}

Second style will override the first, because custom.less file is loaded later than original css.

Regards.

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

More
2 years 5 months ago #9701 by Gilberti
Gilberti replied the topic: custom.less
thanks, I am waiting for the answer I did some tests and I was able to understand the operation and I'm having a lot to modify the templates. I take this thread to chiderti how to change the module "Home 2 - Modern Slider" (I made the title visible so that you can locate it).

www.oliobova.it/new/index.php?option=com...6&Itemid=470&lang=it

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

More
2 years 5 months ago #9703 by artur
artur replied the topic: custom.less
Hello,
I do not understand what do you mean..

If you want edit DJ-Mediatools slides, you can do it in Components -> DJ-Mediatools -> Custom items

If you want change styles in content of slides, you can do it in the same way as in my previous message.

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

More
2 years 5 months ago #9704 by Gilberti
Gilberti replied the topic: custom.less
Hello,
Images are handled by the DJ component, but the text as I change it? I do not ask for help to change the style but the text (ie. Now only $ 499).
P.S. Thanks for your quick responses and patience. Today I bought 2 more templates and buy only what I need from you

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

Time to create page: 0.258 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-2018 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.