-
AuthorPosts
-
rikaryo Friend
rikaryo
- Join date:
- June 2006
- Posts:
- 127
- Downloads:
- 143
- Uploads:
- 59
- Thanks:
- 107
- Thanked:
- 10 times in 4 posts
March 17, 2014 at 11:16 pm #195880Wanted to know how add a color in the bg of a module. I have an old project and I’ve been making some changes and I saw that the guide does not have this option.
Could someone show me a step by step how to create a css suffix to put a module with the black bg?
Rikáryo Mourão
CEO - HeróiNerd - Inventtivechavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
rikaryo Friendrikaryo
- Join date:
- June 2006
- Posts:
- 127
- Downloads:
- 143
- Uploads:
- 59
- Thanks:
- 107
- Thanked:
- 10 times in 4 posts
March 18, 2014 at 12:45 pm #527164Annex follows the image, wanted to create a color for the BG module, wanted to hint how to do it. This has two modules that want to give color, 1 is a guestbook module and the other is schedule.
the site was at that address, but the server is off the air!
http://www.amjus.org.br / site
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
rikaryo Friendrikaryo
- Join date:
- June 2006
- Posts:
- 127
- Downloads:
- 143
- Uploads:
- 59
- Thanks:
- 107
- Thanked:
- 10 times in 4 posts
March 19, 2014 at 4:50 pm #527365@chavan and @ninjalead
The attached picture is how I want the bg of the module becomes, what is published today has no bg
the correct link is: http://www.amjus.org.br/portal/
Thank you for your attention
Rikáryo Mourão
CEO - HeróiNerd - Inventtivechavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 20, 2014 at 2:36 am #5273991. Go to the respective module -> Advanced tab -> Add any text with a space before it in Module Class Suffix -> save it
2. Then GO to this file: /templates/ja_university/css/template.css and add the css code
For example
1. I’m adding a class called ” clsred” (remember space before the class name) in Module Class Suffix
2. GO to this file: /templates/ja_university/css/template.css and add this code
.clsred {
background: #FF0000;
padding: 10px 5px !important;
}Do this for other modules
1 user says Thank You to chavan for this useful post
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 20, 2014 at 10:33 am #527466JA University template defines .highlight class, you can use it for module background as follows:
Open the module you need to add the background and add “ highlight” into Module Class Suffix, as in the screenshot (remember to leave blank space before suffix text):
The front-end should look:
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by Ninja Lead 10 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum