Remove Hikashop.css and inline style from php

  • Posts: 31
  • Thank you received: 3
5 years 3 weeks ago #300602

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Firefox last version

hello, how are you ?
I use the Bootstrap framework !
Hikashop load the hikashop.css file by default
Can it be deleted? (Usually located in helper files)
{ component->com_hikashop->helper->helper.php line 2827
if(!$app->isAdmin()) {
$style = $configClass->get('css_style', '');
if(!empty($style)) {
// $doc->addStyleSheet(HIKASHOP_CSS.'style_'.$style.'.css?t='.@filemtime(HIKASHOP_MEDIA.'css'.DS.'style_'.$style.'.css'));

if($lang->isRTL()) {
// $doc->addStyleSheet(HIKASHOP_CSS.'rtl.css?v='.HIKASHOP_RESSOURCE_VERSION);
Is hikashop disrupted by removing it?
How to remove inline style completely (without using Css and Remove from hikashop Php files)
please help me to resolved problem
best regards

Last edit: 5 years 3 weeks ago by p30yaran.

Please Log in or Create an account to join the conversation.

  • Posts: 25908
  • Thank you received: 3991
5 years 3 weeks ago #300603


hikashop.css is a core file which cannot be deactivate and which is essential for HikaShop to work.
During the past years, we removed a lot of inline css and we will continue to do so. Some features are still required css in the header because it cames from settings you set-up in menus/modules. Since you can put the values you want, it would be very difficult to do it otherwise.

You can read more about Hikashop.css in that forum thread :


Jerome -
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum