Hi Remedy,
Remedy wrote:Do you know if the close button is always called 'btn-close', is this a standard term or is there an other?
I think so and checked a normal J 3.4 installation:
About the left/right button I don't know, but about the: 'btn-close' (some examples only):
root/media/system/css/modal.css
all buttons: ... media/system/images
javascript: ... media/system/js/modal
layouts/joomla/modal/body.php
iframe.php
and propably (not sure): libraries/cms/html/behavior.php:
Code: Select all
// Load the JavaScript and css
JHtml::_('script', 'system/modal.js', true, true);
JHtml::_('stylesheet', 'system/modal.css', array(), true);
}
$sig = md5(serialize(array($selector, $params)));
if (isset(static::$loaded[__METHOD__][$sig]))
{
return;
}
// Setup options object
$opt['ajaxOptions'] = (isset($params['ajaxOptions']) && (is_array($params['ajaxOptions']))) ? $params['ajaxOptions'] : null;
$opt['handler'] = (isset($params['handler'])) ? $params['handler'] : null;
$opt['parseSecure'] = (isset($params['parseSecure'])) ? (bool) $params['parseSecure'] : null;
$opt['closable'] = (isset($params['closable'])) ? (bool) $params['closable'] : null;
$opt['closeBtn'] = (isset($params['closeBtn'])) ? (bool) $params['closeBtn'] : null; etc. ....
So, finally try following CSS Code (at the end of template.css):
Code: Select all
#sbox-window #sbox-btn-close {
display: none;
}
Kind regards, Christine