-
AuthorPosts
-
Mark Kennedy Friend
Mark Kennedy
- Join date:
- September 2014
- Posts:
- 79
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 27
- Thanked:
- 11 times in 1 posts
September 5, 2013 at 4:17 am #190313Hi,
To customize the look of my ja-onepage template, should I be in development mode and editing one of these files?
templatesja_onepagelessthemesmodern
template.less
variables.less
variables-custom.lessOr should I be using theme magic?
I enabled development mode.
After using theme magic it has changed variables-custom.less but the preview didn’t change.
For example the bg colour of the heading is #fff100 or yellow and it is still white.Changing the header bg colour worked on the following themes:
default, metro, solid.
And didn’t work on the following
Modern, and retro.Or should I be customizing css files? Like custom.css or template.css in the themes folder.
Any help or links to info would be greatly appreciated. 🙂
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
September 5, 2013 at 4:48 pm #504749For myself, I’ve always found the best way to work on modifying CSS and the like with Joomla 3.0+ templates is to set the template to Development Mode and utilize an online web development tool like FIREBUG to identify the appropriate CSS rules/properties and test out modifications prior to committing them to my actual template.
1 user says Thank You to TomC for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 6, 2013 at 4:25 am #504804Less is really useful and great for development but after changing Less file you need to compile Less to css
In case you’re not familiar with Less, you can make your change in css custom.css or template.css in the themes folder. It’s recommended to add your css customization in custom.css file since your changes will not be affected when updating template/framework. And when your site loads css file instead of less (in development mode), it will load faster.
http://t3-framework.org/documentation/customization.html#custom-css
1 user says Thank You to Saguaros for this useful post
Mark Kennedy FriendMark Kennedy
- Join date:
- September 2014
- Posts:
- 79
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 27
- Thanked:
- 11 times in 1 posts
September 6, 2013 at 5:21 am #504814Thanks for the replies! Very Helpful.
I am now adding my custom css to custom.css!
If I wanted to develop in less is there an equivalent custom.less file?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 6, 2013 at 6:45 am #504820No, mate. Custom.css is used for css customization only, if there is a custom.less file then when you compile, it will override the custom.css file :p
1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by Saguaros 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum