If you look at the same file i suggested for you to edit css files get loaded in order. So if you place your css files at last then they will overwrite previous classes. So follow below.
1. Upload new css file.
css3 buttons. css -> "\templates\gk_coffe\css\"
2. Upload new image files.
css3buttons_backgrounds.png -> "\templates\gk_coffe\images\"
css3buttons_icons.png -> "\templates\gk_coffe\images\"
3. Placing css loading codes in head.php
Current layout or order of css files.
- Code: Select all
// load the CSS files
if($this->getParam('reset_css', '') != '') {
$this->addCSS($this->URLtemplate() . '/css/reset/'.$this->getParam('reset_css', '').'.css');
}
$this->addCSS($this->URLtemplate() . '/css/layout.css');
$this->addCSS($this->URLtemplate() . '/css/joomla.css');
$this->addCSS($this->URLtemplate() . '/css/template.css');
$this->addCSS($this->URLtemplate() . '/css/menu.css');
$this->addCSS($this->URLtemplate() . '/css/gk.stuff.css');
$this->addCSS($this->URLtemplate() . '/css/k2.css');
if($this->getParam('typography', '1') == '1') {
$this->addCSS($this->URLtemplate() . '/css/typography.style'.$template_style.'.css');
if($this->getParam('typo_iconset1', '1') == '1') $this->addCSS($this->URLtemplate() . '/css/typography.iconset.1.css');
if($this->getParam('typo_iconset2', '1') == '1') $this->addCSS($this->URLtemplate() . '/css/typography.iconset.2.css');
if($this->getParam('typo_iconset3', '1') == '1') $this->addCSS($this->URLtemplate() . '/css/typography.iconset.3.css');
}
$this->addCSS($this->URLtemplate() . '/css/style'.$template_style.'.css');
if($this->getParam("css_override", '0')) {
$this->addCSS($this->URLtemplate() . '/css/override.css');
}
Your order should be as below, if any classes are still getting overwritten simply change them around. Notice i have added your new css files after stylex.css depending on style selection in admin panel template settings.
- Code: Select all
// load the CSS files
if($this->getParam('reset_css', '') != '') {
$this->addCSS($this->URLtemplate() . '/css/reset/'.$this->getParam('reset_css', '').'.css');
}
$this->addCSS($this->URLtemplate() . '/css/layout.css');
$this->addCSS($this->URLtemplate() . '/css/joomla.css');
$this->addCSS($this->URLtemplate() . '/css/template.css');
$this->addCSS($this->URLtemplate() . '/css/menu.css');
$this->addCSS($this->URLtemplate() . '/css/gk.stuff.css');
$this->addCSS($this->URLtemplate() . '/css/k2.css');
if($this->getParam('typography', '1') == '1') {
$this->addCSS($this->URLtemplate() . '/css/typography.style'.$template_style.'.css');
if($this->getParam('typo_iconset1', '1') == '1') $this->addCSS($this->URLtemplate() . '/css/typography.iconset.1.css');
if($this->getParam('typo_iconset2', '1') == '1') $this->addCSS($this->URLtemplate() . '/css/typography.iconset.2.css');
if($this->getParam('typo_iconset3', '1') == '1') $this->addCSS($this->URLtemplate() . '/css/typography.iconset.3.css');
}
$this->addCSS($this->URLtemplate() . '/css/style'.$template_style.'.css');
$this->addCSS('https://d177r47olzwju3.cloudfront.net/forum/styles/prosilver/theme/buttons.gz.css');
this->addCSS($this->URLtemplate() . '/css/css3buttons.css');
if($this->getParam("css_override", '0')) {
$this->addCSS($this->URLtemplate() . '/css/override.css');
}
This should fix your current problems as your chosen css files are loaded last so they will overwrite previous classes if class names are same.
See you around...