test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • rikaryo Friend
    #195880

    Wanted 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 - Inventtive

    chavan Friend
    #527068

    can you please post a screenshot of on which modules you need the backgrounds applied and post your site Url

    rikaryo Friend
    #527164

    Annex 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


    1. ja_university_colormodules

    Rikáryo Mourão
    CEO - HeróiNerd - Inventtive

    chavan Friend
    #527293

    Please enable the 2 contents you have highlighted in your screenshot. so I can provide you a perfect css to obtain the solution

    Ninja Lead Moderator
    #527294

    @rikaryo,
    I have checked your site, however I could not find the URL associated with guestbook and schedule module. Can you send me the link, I will help you out.

    rikaryo Friend
    #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 - Inventtive

    chavan Friend
    #527399

    @rikaryo

    1. 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

    Ninja Lead Moderator
    #527466

    @rikaryo,

    JA 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:


    1. module_class_suffix
    2. sample
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