Troubleshooting for the current version

Search in support tickets

#645 – background colors in the mod_adsmanager_table

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 26 August 2019 12:04 CEST
unam.italia
Joomla! version : 3.9.11
PHP version : 7.3.8
AdsManager version : 3.2.4

The table mod_adsmanager_table comes with alternated background color for every line. I would like all the table would have a transparent background. without alternating the background colors

How could I do that?
Custom Fields
Joomla Version
3.9.11
PHP Version
7.3.8
Product
AdsManager
Product Version
3.2.4
Monday, 26 August 2019 13:06 CEST
loic
Hello,

The modules doesn't have the class needed to do that, what template are you using ?

Best regards.
 
Tuesday, 27 August 2019 05:45 CEST
unam.italia
I'm using the T3 framework
Tuesday, 27 August 2019 12:54 CEST
loic
Hello,

I think that the css applied in the module is set by the template and not adsManager.

There is nothing that can do that in the code of adsmanager.

Best regards.
 
Wednesday, 28 August 2019 10:20 CEST
unam.italia
I found the following:
https://github.com/t3framework/t3/blob/master/source/tpl_t3_bs3_blank/less/joomla.less

from which I would desume that if I modify the joomla.less file, for instance from:

// ---------------------------------------------------------
// ROW LISTS
// ---------------------------------------------------------
// List types using in Joomla! Core

// Alternating Rows
.row-even,
.row-odd {
padding: 5px;
width: 99%;
border-bottom: 1px solid @table-border-color;
}

.row-odd {

background-color: @table-bg;

}

.row-even {

background-color: @table-bg-accent
;
}

to
// ---------------------------------------------------------
// ROW LISTS
// ---------------------------------------------------------
// List types using in Joomla! Core

// Alternating Rows
.row-even,
.row-odd {
padding: 5px;
width: 99%;
border-bottom: 1px solid @table-border-color;
}

.row-odd {

background-color: #737272 //@table-bg;

}


.row-even {

background-color: #737272 //@table-bg-accent;

}

then compile the .less file into the .css, it could work. could you give me your opinion on that?
Wednesday, 28 August 2019 12:44 CEST
loic
Hello,

It will work for every table in your website, not only the one from the module.

Always do a backup of the file you custom, just in case.

Best regards.
 

Please rate this ticket

Help us improve our support services by rating this ticket from one to five stars, according to how much you are satisfied from the handling of this ticket, one being not satisfied and five being very satisfied.