Since yesterday I have a white boder around every News Show Pro GK1 module. I didn't modify the css. Is there a option in the module configuration?
http://p110680.typo3server.info/
Best regards, Carsten
.gk_npro_mainwrap {
border: none!important;
}
// add stylesheets to document header
if($this->config["useCSS"] == 1){
$document->addStyleSheet( $uri->root().'modules/mod_news_pro_gk1/style/style_'.$this->config['mode'].'.css', 'text/css' );
}
// add stylesheets to document header
if($this->config["useCSS"] == 1){
$document->addStyleSheet( $uri->root().'templates/gk_icki_sports/css/gk_stuff.css', 'text/css' );
}
.gk_npro_image {
border: none!important;
}
To remove image border, add this code on gk_stuff.css file:
- Code: Select all
.gk_npro_image {
border: none!important;
}
The margin on image can be set on the module parameters.
Cheers
Small suggestion - if you are using our modules in new template - ICKI Sports - please disable option "Use CSS" in module advanced options. Then module has only styling from gk_stuff.css
I had this problem when installing without quickstart. Basically the 'New Pro Module were not picking up the gk_stuff css file.
Locate modules/mod_news_pro_gk1/helper.php
Locate line 494 where its call the css file in the header
- Code: Select all
// add stylesheets to document header
if($this->config["useCSS"] == 1){
$document->addStyleSheet( $uri->root().'modules/mod_news_pro_gk1/style/style_'.$this->config['mode'].'.css', 'text/css' );
}
Change it to this
- Code: Select all
// add stylesheets to document header
if($this->config["useCSS"] == 1){
$document->addStyleSheet( $uri->root().'templates/gk_icki_sports/css/gk_stuff.css', 'text/css' );
}
Clean your cache and see if it works.
Good Luck!
Small suggestion - if you are using our modules in new template - ICKI Sports - please disable option "Use CSS" in module advanced options. Then module has only styling from gk_stuff.css
dziudek wrote:Small suggestion - if you are using our modules in new template - ICKI Sports - please disable option "Use CSS" in module advanced options. Then module has only styling from gk_stuff.css
How do i disable that option? Where would i find it?